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

Provide Apple’s existing mission statement and code of ethics.
August 5, 2017
What do you believe are the most important characteristics of ethical leadership?
August 5, 2017
Show all

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

Rainfall Program

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.

Leave a Reply

Your email address will not be published. Required fields are marked *