Average Rainfall Modification
Modify the program you wrote for Programming Challenge 4 (Average Rainfall) so it reads its input from a file instead of the keyboard.
Reference:
Average Rainfall
Write a program that calculates the average rainfall for three months. The program should ask the user to enter the name of each month, such as June or July, and the amount of rain (in inches) that fell each month. The program should display a message similar to the following:
The average rainfall for June, July, and August is 6.72 inches.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.