Developing a basic first draft program for electricity board of a city.
Developing an application to read the name of the user, the units consumed by the user, and giving the charged amount as output.
Rates:
- For the first 200 units: 80 paise/unit
- For the next 100 units : 90 paise/unit
- For units after 300 units : 1 rupee/unit
Extra Conditions:
- Each user is charged a fixed amount of Rs. 100 as meter charge.
- If the total amount to be paid, other than the fixed meter charge exceeds Rs. 400, an extra charge of 15% is levied on the amount calculated.