Recall that Programming Exercise 3 in Chapter 8 asked you to design a program that lets the

Question:

Recall that Programming Exercise 3 in Chapter 8 asked you to design a program 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. Enhance the program so it sorts the array in ascending order and displays the values it contains.

Programming Exercise 3

Design a program 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.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: