โ Back to If Statements
Question 319
Water State
Water State
Read a temperature in Celsius (a whole number) from input and print the state of water: 0 or below isSolid, 100 or above isGas, and anything in between isLiquid. For example, for input25, print: Liquid
Expected Output:
Liquid
Topics:
If Statements
Code Editor
1
Tab to indent ยท Ctrl+Enter to run ยท Ctrl+Space to expand shortcuts (cw, cr, fori)
Your Output
Run your code to see the output here...
Test Cases
Run your code to see test case results.