42 Bath Temperature


42 is the "perfect" temperature for a bath. For this program I need to code a program that asked the user what the temperature is and the response should tell you whether it is too hot or too cold. Also if it is at 42 it has to say Just Right! In this I used true and if statements with a break to stop the loop when you get to just right!

No comments:

Post a Comment