Question: Chapter 8, page 335, #8 (Rainfall statistics) Design a solution that lets the user enter the total rainfall for each of 12 months into an

Chapter 8, page 335, #8 (Rainfall statistics)

Design a solution that lets the user enter the total rainfall for each of 12 months into an array. The program should calculate and display the total rainfall for the year, the average monthly rainfall, and the months with the highest and lowest amounts.

This is to be an algorithm in pseudocode.

Sample output:

Total rainfall for the year is xx

Average rainfall for the year is xx

Highest rainfall is xxx

Highest occurred in the month of xxxxxx

Lowest rainfall is xxx

Lowest rainfall occurred in the month of xxxxx

DECLARE ARRAYS

DECLARE ALL VARIABLES

DECLARE REAL

I am lost with what to declare. Please show the inputs and sets

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!