CJCoding With Joseph
15free / daySign inCreate account

Ice Liquid Or Steam

Read a temperature in degrees Celsius and print the state of water at that temperature: 0 or below prints Ice, 100 or above prints Steam, and anything in between prints Liquid. Input: one line, the temperature as a decimal number, no prompt. Output: one word. Write the whole if / elif / else chain.

Expected Output:

Ice

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

Hints3 available
Topics:
If Statements
📥 Auto-Input:
-5\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.