- 2

if statements

Write a program that checks if the water is boiling. Take the integer temperature in Celsius as input and output "Boiling" if the temperature is above or equal to 100. Sample Input 105 Sample Output Boiling

29th Dec 2021, 2:49 PM
Atul Diwan
1 Answer
+ 9
Atul Diwan , it would be helpful if you mention the programming language in the tags. thanks!
29th Dec 2021, 3:13 PM
Lothar
Lothar - avatar