Code CODO
Home
Basic JS
If-Else JS
If-Else JS (Part-2)
QUESTION
(4). Jharkhand State Electricity Board (JSBE) Charges their consumers according to the units consumed (per month) as per the given tariff:
Units Consumed
Charges
Up to 100 units
80 Paisa/Unit
More than 100 and up to 200 unit
Rs. 1/Unit
More than 200 units
Rs. 1.25/Unit
In addition to the above,every consumer has to pay Rs.50 as service charge per month.WAP a program to calculate the Electricity Bill.
Enter the Unit
Charge as per the unit :
CopyRights@2023 Code-CODO.online.All Rights Reserved