Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write a program that allows the user to enter the total rainfall for each of 12 months into a list. The program should calculate and
Write a program that allows the user to enter the total rainfall for each of 12 months into a list. The program should calculate and display the total rainfall for the year, the average monthly rainfall, and the months with the highest and lowest rainfall amounts.
Data:
January 7.9 inches
February 10.1 inches
March 3.4 inches
April 6.7 inches
May 8.9 inches
June 9.4 inches
July 5.9 inches
August 4.1 inches
September 3.7 inches
October 5.1 inches
November 7.2 inches
December 8.3 inches
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started