Question: Write a program that prompts the user for their quarterly water bill for the last four quarters. The program should find and output their average

Write a program that prompts the user for their quarterly water bill for the last four quarters. The program should find and output their average monthly water bill. If the average bill exceeds $75, the output should include a message indicating that too much water is being used. If the average bill is at least $25 but no more than $75, the output should indicate that a typical amount of water is being used. Finally, if the average bill is less than $25, the output should contain a message praising the user for conserving water. Use the sample run below as a model for your output. Rate is $0.08333 per gallon. Sample Run: Please input your water use in gallons for quarter 1: 300 Please input your water use in gallons for quarter 2: 200 Please input your water use in gallons for quarter 3: 225 Please input your water use in gallons for quarter 4: 275 Your average monthly bill is $83.33. You are using excessive amounts of water

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