Question: Write a program named TemperaturesComparison that allows a user to input 7 daily Celsius temperatures that must range from 0 100. If a temperature
Write a program named TemperaturesComparison that allows a user to input 7 daily Celsius temperatures that must range from 0 – 100. If a temperature is out of the range, require the user to re-enter it. Calculate and display the average, the maximum and minimum temperatures for the 7 days. Display the number of temperatures above the Average temperature. (Hint: to calculate the no of temperatures above, you will need to load the array first and then to check for the temperatures against the calculated average)
Step by Step Solution
3.39 Rating (158 Votes )
There are 3 Steps involved in it
First declare variables to store minimum maximum and average temperature And an array to store daily ... View full answer
Get step-by-step solutions from verified subject matter experts
