Question: the language is to be in C++ General Description: Write a program for processing temperature readings for a period of days. The program first asks
the language is to be in C++
General Description: Write a program for processing temperature readings for a period of days. The program first asks the user to enter the number of days, validating the answer between 1 and 10: It then asks the user to enter the Hi and Low Temperatures for each day. Finally, it finds and prints the highest high, lowest low, average high and average low. It should also print the number of days the low temperature was below freezing (less than 32 degrees). As usual, the program should pause at the end. Note: all numbers, including averages, may be integers. You may assume that, for each day, the high temperature entered actually is greater than or equal to the low entered, and that both are numbers without decimal points
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
