Answer to Question #4187 in C++ for kuldeep
For the first 100 units-40paise per unit
For the next 200 units-50 paise per unit
Beyond 300 units-60 paise per unit.
All users are charged meter charge also which is Rs 50.
Write a program to read the name of users and number of units consumed, and print out the charges with names.
cout<<"Electricity Board Charges\n";
enter user name : ";
cout<<"\n\nPlease enter number
of units consumed:-";
float total_cost = tc + 50;
bill amount:& "<<total_cost;
You're welcome. We are glad to be helpful.
If you really liked our service please press like-button beside answer field. Thank you!