Question: write a complete program that will ask the user for the current temperature. The program should print a message on the screen indicating that is

write a complete program that will ask the user for the current temperature. The program should print a message on the screen indicating that is is too hot if the temperature is above 80, to cold if below 60, and just right if just in the middle. Can this program be done using a switch statement, why or why not.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!