Question: Java 7. Average Rainfall Write a program that uses nested loops to collect data and calculate the average rainfall over a period of years. The


Java
7. Average Rainfall Write a program that uses nested loops to collect data and calculate the average rainfall over a period of years. The program should first ask for the number of years. The outer iterate once for each year. The inner loop will iterate 12 times, once for each month. Each iteration of the inner loop will ask the user for the inches of rainfall for that month
Step by Step Solution
There are 3 Steps involved in it
To solve this problem you need to create a Java program that gathers rainfall data and calculates th... View full answer
Get step-by-step solutions from verified subject matter experts
