CJCoding With Joseph
15free / daySign inCreate account

Price With Tax

Read a price as a decimal number and print two lines: the 13 percent tax on it as Tax: <value> and the price plus the tax as Total: <value>, both with exactly two decimals using :0.2f. Input: one line, the price, no prompt.

Expected Output:

Tax: 13.00
Total: 113.00

= newline. The output ends with a newline — print one after the last line.

Hints3 available
Topics:
User Input
📥 Auto-Input:
100\n
This input is automatically fed to your program's stdin
1
Tab to indent (Esc then Tab to move on) · Ctrl+Enter to run · Ctrl+Space to expand shortcuts (pr, inp, def)

Your Output

Run your code to see the output here...

Test Cases

Run your code to see test case results.