Sale!

series of random numbers

$30.00

Category:

### Lists and Dictionaries
>Design a program that lets the user 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 amounts.

The following is as a dialog that the user would have with the program:

Input:

January: 2

February: 3.5

March: 3.5

April: 5

May: 6

June: 3.5

July: 2.8

August: 2.0

September: 3.2

October: 3.1

November: 2.0

December: 1.0

Output:
“`
Total Rainfall:  37.6 inches
Average monthly rainfall: 3.13 inches
Minimum: 1.0 inches
Maximum: 3.5 inches
“`

Due: Monday, 28 October 2019, 8:00 AM

Reviews

There are no reviews yet.

Be the first to review “series of random numbers”

Your email address will not be published.