Question: C++ Program Write a program that will input temperatures for consecutive days. The program will store these values into an array and call a function

C++ Program Write a program that will input temperatures for consecutive days.C++ Program

Write a program that will input temperatures for consecutive days. The program will store these values into an array and call a function thatwill return the average of the temperatures. It will also call a function thatwill return the highest temperature and a function that will return thelowest temperature. The user will input the number of temperatures to beread. There will be no more than 50 temperatures. Use typedef to declarethe array type. The average should be displayed to two decimal places. Sample Run: Please input an age from one to 100, put -99 to stop Please input an age from one to 100, put -99 to stop Please input an age from one to 100, put -99 to stop 17 Please input an age from one to 100, put -99 to stop -99 The number of people 5 years old is3 The number of people 8 years old is 1 The number of people 9 years old is 1 The number of people 10 years old is 1 The number of people 17 years old is 1 The number of people 20 years old is 2 The number of people 100 years old is 1

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!