This code will calculate the Average Rainfall based on the entered values.
The program asks the user to enter a number of years. For each year, it will ask for the average rainfall for the month. Finally, it will calculate and print the total average using the entered values.
While this program is designed to calculate the average rainfall for a specified amount of year, it can be updated to calculate weekly or monthly rainfall with a few tweaks.