Question: Write me code that gives me this exact output: Enter the rainfall (in inches) for month #1: Rainfall must be 0 or more. Please re-enter:

Write me code that gives me this exact output: Enter the rainfall (in inches) for month #1: Rainfall must be 0 or more. Please re-enter: Enter the rainfall (in inches) for month #2: Enter the rainfall (in inches) for month #3: Enter the rainfall (in inches) for month #4: Enter the rainfall (in inches) for month #5: Enter the rainfall (in inches) for month #6: Enter the rainfall (in inches) for month #7: Enter the rainfall (in inches) for month #8: Enter the rainfall (in inches) for month #9: Enter the rainfall (in inches) for month #10: Enter the rainfall (in inches) for month #11: Enter the rainfall (in inches) for month #12: The total rainfall for the year is 78.00 inches. The average rainfall for the year is 6.50 inches. The largest amount of rainfall was 12.00 inches in month 12. The smallest amount of rainfall was 1.00 inches in month 1. Here are the rainfall amounts, sorted in ascending order: ---------------------------------------- 1.00 2.00 3.00 4.00 5.00 6.00 7.00 8.00 9.00 10.00 11.00 12.00

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 Mathematics Questions!