← Back to Printing
Question 64
One Decimal Reading
One Decimal Reading
Print one line of output giving the declared city, a colon and a space, then the declared temperature shown with exactly one decimal place using the :0.1f format spec, then a space and the word degrees. Input: none; the values are fixed in the code.
Expected Output:
Oshawa: 21.5 degrees= newline. The output ends with a newline — print one after the last line.
Hints2 available
Sign in to use hintsTopics:
Printing
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.