Question: 2. Write a C++ program that creates random one month of the temperature and find Average temperature, lowest and hottest temperature with the days of

 2. Write a C++ program that creates random one month ofthe temperature and find Average temperature, lowest and hottest temperature with the

2. Write a C++ program that creates random one month of the temperature and find Average temperature, lowest and hottest temperature with the days of the month. Note: Create functions that takes the temperatures to find Average temperature, lowest and hottest temperature with the days of the month. Assume that month has 30 days or use keyboard to enter number of days. Temperature range 32-100 You can use static int in function to keep max and min and total Sample output Temperature of a month Days: 1 2 3 Temp: 21 65 51 Days: 16 17 18 Temp: 72 48 75 15 78 30 90 Average temp of month : 62 Hottest temp and day : 99 (Day 19) Lowest temp and day : 32 (Day 25)

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!