Program to calculate and print the electricity bill of a given customer. The customer ID, name, and unit consumed by the user should be captured from the keyboard to display the total amount to be paid to the customer.
Here, we have a basic program example to calculate the electricity bill using different languages. The charge are 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 If bill exceeds Rs. 400 then a surcharge of…