2:Write a program in C# Sharp 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 keyboard and display the...


2:Write a program in C# Sharp to calculate and print the Electricity bill of a given customer.<br>The customer id., name and unit consumed by the user should be taken from the keyboard and display the total amount to pay<br>to the customer. The charge is as follow:<br>Unit<br>Charge/unit<br>upto 199<br>@1.20<br>200 and above but less than 400<br>@1.50<br>400 and above but less than 600<br>@1.80<br>600 and above<br>@2.00<br>Note: If bill exceeds Rs. 400 then a surcharge of 15% will be charged and the minimum bill<br>should be of Rs. 100/-<br>Sample Output should be:<br>Customer IDNO :1001<br>Customer Name: James<br>unit Consumed :800<br>Amount Charges @Rs. 2.00 per unit:<br>Surcharge Amount: 240.00<br>Net Amount Paid by the Customer: 1840.00<br>

Extracted text: 2:Write a program in C# Sharp 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 keyboard and display the total amount to pay to the customer. The charge is as follow: Unit Charge/unit upto 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 Note: If bill exceeds Rs. 400 then a surcharge of 15% will be charged and the minimum bill should be of Rs. 100/- Sample Output should be: Customer IDNO :1001 Customer Name: James unit Consumed :800 Amount Charges @Rs. 2.00 per unit: Surcharge Amount: 240.00 Net Amount Paid by the Customer: 1840.00

Jun 04, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions ยป

Submit New Assignment

Copy and Paste Your Assignment Here