Question: Write a program named TemperaturesComparison that allows a user to input five daily Fahrenheit temperatures that must range from 3 0 to 1 3 0
Write a program named TemperaturesComparison that allows a user to input five daily Fahrenheit temperatures that must range from to
If a temperature is out of range, require the user to reenter it
If no temperature is lower than any previous one, display a message Getting warmer.
If every temperature is lower than the previous one, display a message Getting cooler.
If the temperatures are not entered in either ascending or descending order, display a message Its a mixed bag.
Finally, display the temperatures in the order they were entered, and then display the average of the temperatures.
Your program's output should look like the following:
Getting warmer:
Average:
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
