TASK-
Write a program in C to calculate and print the Electricity bill of a given customer. The customer id and unit consumed by the user should be taken from the keyboard and display the total amount to pay to the customer. The charge are as follow.
Unit | Charge/unit |
---|---|
upto 199 | @1.20 |
200 and above but less than 400 | @1.50 |
400 and above but less than 600 | @1.80 |
600 and above | @2.00 |