Question: Must be the same on output and follow the second picture Write a java program where a user enters and stores the average monthly rainfall

Must be the same on output and follow the second picture  Must be the same on output and follow the second picture
Write a java program where a user enters and stores the average

Write a java program where a user enters and stores the average monthly rainfall figures (int) for three (3) towns over a year. The rows represent the months, and the columns represent the towns TOWN 1 TOWN 2 TOWN Month1 Month2 Month3 Month4 Month5 Month6 Month7 Month8 Month9 Month10 Month11 Month12 Calculate and print the total rainfall figures for each town, and the average rainfall for each month, Use a switch statement to print out the month name according to the column subscript value (Eg. if col 0, then print January, col 1 then print February, etc.) with the corresponding total alongside it. Example of output: SUMMARY OF RAINFALL FOR 2016 Town 1 total rainfall Town 2 total rainfall Town 3 total rainfall 175 mm 2345 mm 689 mm January February March etc 409 mm 560 mm 157 mm

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!