← Back to User Input
Question 168
Price With Tax
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
Sign in to use hintsTopics:
User Input
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.