A program that asks the user to enter daily rainfall amounts
Program 5: Functions Write a program that asks the user to enter daily rainfall amounts. Your program will need to accept 20 daily rainfall inputs. Only allow non-negative rainfall amounts. When the user enters a negative number, tell them that the number is invalid, and that they should enter another, valid value. Calculate the total rainfall and the average rainfall. Determine the largest daily rainfall […]