An electricity board charges the following rates to domestic users:
For the first 100 units : 60 paisa per unit
For next 200 units : 80 paisa per unit
Beyond 300 units : 90 paisa per unit
All users are charged a minimum of Rs 50.00.If the total amount is more than Rs. 300, then an
additional surcharge of 15% is added.
Write a C++ program to read the names of n user and number of units consumed by them and print
out the charges with names. You can make the program with or without using class concept.
Answers
Answered by
0
Answer:
An electricity board charges the following rates to users – For first 100 units : 40p per unit – For next 200 units : 50p per unit – Beyond 300 units : 60p per unit All users are charged a minimum of Rs. 150. If the total cost is more than Rs. 250.00 then an additional charges of 15% are added.
Similar questions