CJCoding With Joseph
15free / daySign inCreate account

Celsius To Fahrenheit

Read a temperature in Celsius as a decimal number, convert it to Fahrenheit (multiply by 9, divide by 5, add 32) and print both values with one decimal each in the form <celsius> C is <fahrenheit> F, using :0.1f. Input: one line, a number, no prompt.

Expected Output:

25.0 C is 77.0 F

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

Hints2 available
Topics:
User Input
📥 Auto-Input:
25\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.