Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Write a program that lets the user enter the total rainfallfor each of 12 months

ID: 3616576 • Letter: W

Question

Write a program that lets the user enter the total rainfallfor each of 12 months into an array of doubles. The program shouldcalculate and display thte total rainfall for the year, the aveagemontly rainfall, and the months with the highest and lowestamounts. Input Validation: do not accept negative numbers for monthlyrainfall figues.. I want to see output. I don't know how? Write a program that lets the user enter the total rainfallfor each of 12 months into an array of doubles. The program shouldcalculate and display thte total rainfall for the year, the aveagemontly rainfall, and the months with the highest and lowestamounts. Input Validation: do not accept negative numbers for monthlyrainfall figues.. I want to see output. I don't know how?

Explanation / Answer

please rate - thanks #include using namespace std; int main() {stringmonth[12]={"January","February","March","April","May","June","July",                   "August","September","October","November","December"}; int min,max,i; double num[12]; for(i=0;i
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote