CJCoding With Joseph
15free / daySign inCreate account

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
Topics:
User Input
📥 Auto-Input:
10\n20\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.