Question: Exercise 3 Write a C++ program that prompts the user for an integer. The program reads the integer and displays even number if the number

 Exercise 3 Write a C++ program that prompts the user for

Exercise 3

Write a C++ program that prompts the user for an integer. The program reads the integer and displays "even number" if the number is even or "odd number" if the number is odd. Write a C++ program that prompts the user for a temperature value. The program should print "cool" when the temperature is greater than 40 and less than or equal to 60, should print "warn when the temperature is greater than 60 and less than or equal to 85 and should print "don't go outsider for all other temperature values

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!