Question: Starting Out with Java (6th Edition) Average Rainfall page 345-346 #7 The name of the java file should be this . (AverageRainfall.java) Output must match
Starting Out with Java (6th Edition)
Average Rainfall page 345-346 #7
The name of the java file should be this. (AverageRainfall.java)
Output must match the ouput shown below

yourName today's date Enter the number of years Invalid. Enter 1 or greater: Enter the rainfall, in inches, for each month. 6 Year 2 month 1: Year 2 month 2: Year 1 month 1: Year 2 month 3 10 Invalid, Enter 0 or er Year 2 month 4: Year 1 month 2: Year 2 month 5 Year 1 month 3 Year 2 month 6 Year 1 month 4 0 Year 2 month 7 Year 1 month 5 0 Year 2 month 8 Year 1 month 6 Year 2 month 9: Year 1 month 7: Year 2 month 10 Year 1 month 8 15 Year 2 month 11 Year 1 month 9 12 Year 2 month 12: Year 1 month 10 Year 1 month 11: Number of months: 24 Total rainfall: 128.0 inches Average monthly rainfall: 5.333333333333333 inches 10 Year 1 month 12
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
