← Back to User Input
Question 184
Morning And Evening Temperatures
Morning And Evening Temperatures
Read a morning temperature and then an evening temperature, both in Celsius as decimal numbers, convert each to Fahrenheit (multiply by 9, divide by 5, add 32) and print two lines, Morning: <value> F and Evening: <value> F, each value with one decimal using :0.1f. Input: two lines, one number each, no prompts.
Expected Output:
Morning: 50.0 F Evening: 68.0 F
= 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.