[SOLVED] SOLVED:Rainfall Program solution

15.00 $

Programming resource
Digital learning resource
Category:
Practical programming resource
Suitable for guided study and reference
Tutor guidance available when needed

Description

5/5 - (2 votes)

Write a RainFall program that stores the total rainfall for each of 12 months into an array of doubles.

The program should have methods that return the following:

* The total rainfall for the year

* The average monthly rainfall

* The number of the month with the most rain (not the amount)

* The number of the month with the least rain (not the amount)

Demonstrate program. Input Validation should not allow negative numbers.

Resource details

Understand the Task Before You Use the Resource

Review the requirements, identify the programming concepts involved, study the implementation and test your understanding with your own examples and modifications.