CJCoding With Joseph

Water State

Read a double temperature in degrees Celsius and print the state of water:

- if the temperature is 0 or below, print Ice
- if it is above 0 but below 100, print Water
- if it is 100 or above, print Steam

For example, given the input 25, the program prints:

Water

Expected Output:

Water
Topics:
If Statements
๐Ÿ“ฅ Auto-Input:
25
This input is automatically fed to your program's stdin
Code Editor
1
Tab to indent ยท Ctrl+Enter to run ยท Ctrl+Space to expand shortcuts (cout, fori)

Your Output

Run your code to see the output here...

Test Cases

Run your code to see test case results.