Question: * * NOTE * * : PLEASE USING C language fast please Exercise 1 Exercise Objectives v Using If , if else statements. Using relational

**NOTE**: PLEASE USING C language
fast please
Exercise 1
Exercise Objectives
v Using If, if else statements.
Using relational operators
Using logical operators
Problem Description
Develop a function to calculate water bills based on consumption and citizen status.
For Supported Citizens:
Consumption less than 500 liters per three months: $0.15 per liter.
Consumption between 500 and 1200 liters per three months: $0.25 per liter.
Consumption exceeding 1200 liters per three months: $0.30 per liter.
For Non-Supported Citizens:
Consumption less than or equal to 800 liters per three months: $0.20 per liter.
Consumption exceeding 800 liters per three months: $0.60 per liter.
In the main function test the water bill calculator function.
Sample Output
1-Supported
2- Not Supported
1
Enter amount of liter spent during three months
200
Pay 30.0 please

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