Question: Rainfall Statistics Create an application that lets the user enter the rainfall for each of 12 months into an array. The application should calculate and

Rainfall Statistics Create an application that lets the user enter the rainfall for each of 12 months into an array. The application should calculate and display the following statistics: total rainfall for the year, the average monthly rainfall, and the months with the highest and lowest amounts of rainfall. Figure shows an example of the application's form after each month's rainfall amount has been entered and the statistics have been displayed. Check for nonnumeric input. Figure Rainfall Statistics form Rainfall Statistics Monthly Rainfall Input Rainfall for January3 Rainfall for February 8 Rainfall for March6 Rainfall for April-4 Rainfall for May-7 Rainfall for June 5 Rainfall for July -6 Rainfall for August 3 Rainfall for September-8 Rainfall for October 2 Rainfall for November 4 Rainfall for December 3 The total annual rainfall was 59 The average monthly rainfall was 4.92 The minimum monthly rainfall was 2 (October) The maximum monthly rainfall was 8(February nput Monthly Rainfall Display Stats Clear Ext
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
