Write a program named TemperaturesComparison that allows a user to input 7 daily Celsius temperatures that must
Fantastic news! We've Found the answer you've been seeking!
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 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)
Related Book For
Posted Date: