Question: THIS PROGRAM NEEDS TO BE MADE IN C++ The program should output : total rainfall Average Monthly Rain: The average monthly rain is total rain

THIS PROGRAM NEEDS TO BE MADE IN C++

The program should output :

  1. total rainfall
  2. Average Monthly Rain: The average monthly rain is total rain of 12 months then divided by 12.
  3. Average Monthly Average Temperature:

The monthly average Temp is (monthly high temp + monthly low temp)/2.

The average monthly average temp is to add all 12 months' monthly average Temp and then divided by 12.

  1. Highest Temp and Lowest Temp during the year and the months they occurred in.

Please use an array of 12 elements of the defined structure and loop to input the records. Also note the temperature input validation in the question. (It is not required to validate highT >=LowT).

THIS SHOULD BE THE OUTPUT OF THE PROGRAM:

THIS PROGRAM NEEDS TO BE MADE IN C++ The program should output

CAUsers\devyn\Documents courses troy\l 2013\C++ Womework student work\Debug'we Enter the following information! Muntli Total Rainfall: 12 High Temperature: 12 Low Temperature: 12 Month 2 Total Rainfall: 12 High Temperature: 12 Low Temperature: 12 Month 3 Total Rainfall: 12 High Temperature: 12 Low Tenperature: 12 Month 4 Total Rainfall: 12 High Tenperature: 12 Low Temperature: 12 Month 5 Total Rainfall: 12 High Temperature: 12 Low Tenperature: 12 Month 6 Total Rainfall: 12 High Tenperature: 12 Low Temperature: 12 C:\Users davyn Documents courses_troy\l_2013\C+ + Homework student_work Debug week3 Month ? Total Rainfall: 12 High Tenperature 12 Low Tenperatura: 12 Month 8 Total Rainfall. 12 High Tenperature: 12 Low Tenperature: 12 Month 9 Total Rainfall: 12 High Temperature: 12 Low Temperature: 12 Month 18 Total Rainfall: 12 High Temperature: 12 Low Temperature: 12 Month 11 Tatal Rainfall: 12 High Temperature: 12 Low Temperature i 12 Month 12 Total Rainfalli 12 High Temperature 12 Low Tenperature: 12 Total Rainfall144 Average Monthly Rain: 12 Average Monthly Average Temperature: 12 Highest Temperature: 12 Lovest Tenperature: 12 CMonth 1) Press any key to continue Week 3 DORMT PX

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!