Rainfall Stats

Write a program that lets the user enter the total rainfall for each of 12 months into an array of doubles. The program should calculate and display the total rainfall for the year, the average monthly rainfall, and the months with the highest and lowest amounts. Also, prompt your user for a file name and have the program save the calculated statistics to the file.

Directions in attachment

Order Now

Top