Question: Java code 1)- Rainfall Class Write a Rainfall class whose main method stores the total rainfal or each of 12 s into an array of
Java code 1)- Rainfall Class Write a Rainfall class whose main method stores the total rainfal or each of 12 s into an array of doubles. The program should have that accepl the array as an argument and return the following the total rainfall for the year the average monthly rainfall - the month with the most rain the month with the least rain Input Validation: Do not accept negative numbers for monthly figures
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
