InterviewSolution
Saved Bookmarks
| 1. |
An electricity board charges the following rates to domestic users: For the first 100 units : 60 paisa per unitFor next 200 units : 80 paisa per unitBeyond 300 units : 90 paisa per unitAll 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. |
|
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. |
|