Question: C++ Exercise #1: Write a program using if, else if, and else statements that will ask the user to input today's temperature. If the temperature

C++ C++ Exercise #1: Write a program using if, else if, and else

Exercise #1: Write a program using if, else if, and else statements that will ask the user to input today's temperature. If the temperature is above 80 degrees, display a message saying: "It is very hot today!" If the temperature is below 40 degrees, display a message saying: "It is very cold today!" If the temperature is between 40 and 80 degrees, display a message saying: "It is a beautiful day outside!" Test your program with the following user input: 20 40 50 80 100

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!