Question: Write a C + + program that allows the user to enter the total rainfall for 1 2 months, use an array of doubles. Your
Write a C program that allows the user to enter the total rainfall for months, use an array of doubles. Your program calculates and displays the total rainfall for the year, the average monthly rainfall, and the months with the highest and lowest amounts of rainfall. As an input validation, your program should not accept negative numbers for monthly rainfall figures.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
