Unit Charge per unit Up to 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 Example: If user enter 199 unit then the electricity bill will be...



Write a program in C++
to calculate and print the Electricity bill of a given customer. The customer
id, name and unit consumed by the user should be taken from the user and display the total
amount to pay by the customer. The charges are as follow:




The output will display customer id, name, unit consumed and total amount of bill.



Now, Write a description/Explanation of this program, that how it's working.


Unit<br>Charge per unit<br>Up to 199<br>@1.20<br>200 and above but less than 400 @1.50<br>400 and above but less than 600 @1.80<br>600 and above<br>@2.00<br>Example: If user enter 199 unit then the electricity bill will be 199 *1.20 = 238<br>

Extracted text: Unit Charge per unit Up to 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 Example: If user enter 199 unit then the electricity bill will be 199 *1.20 = 238

Jun 08, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here