Question: Write C program that calculates the water bill. Please use if else statments. Write a C program that calculates the water bill according to the
Write C program that calculates the water bill. Please use if else statments.

Write a C program that calculates the water bill according to the chart below. The program should let a user enter the user type and the water usage amount and then displays the total cost (including tax). See sample code execution. Red is entered by a user Sample Code Execution #1 Enter User Type (R for Residential, B for Business): E Enter water usage in cubic feet: 58 Wrong User Type Sample Code Execution #2 Enter User Type (R for Residential, B for Business): R Enter water usage in cubic feet: 58.5 Total cost including tax is $10.67
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
