Question: Write an interactive C program using if - else statement, to input water unit charge and calculate the total water bill according to the

Write an interactive C program using if - else statement, to input

Write an interactive C program using if - else statement, to input water unit charge and calculate the total water bill according to the given condition: For the first 50 units RM 0.40/unit For the next 100 units RM 0.80/unit For the next 100 units RM 1.20/unit For above 250 units RM 1.55/unit An additional surcharge of 15% is added to the bill.

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!