I will mark as brainliest
Please solve this question using any browser mine is not working
Create a class Telephone_Bill which will store data like name, address , units consumed, cost per unit and total amount payable.
Answers
Answer:
void accept ( ) – to accept the name of the customer and number of units consumed. void calculate ( ) – to calculate the bill as per the following tariff : A surcharge of ...
Answer:
For example, a consumer consumes 500 watts per hour daily for one month. Calculate the total energy bill of that consumer if per unit rate is 7? ( In $, £, €, INR, DHR, Riyal etc) [Take 1 month = 30 Days].
Solution :
How do I calculate my electric bill.....
Total kilowatt used× Number of hours a month×cost per kilowatt hour...
.
.
s we know that 1 Unit = 1kWh
s we know that 1 Unit = 1kWhSo total kWh = 500 watts x 24 hours x 30 days
s we know that 1 Unit = 1kWhSo total kWh = 500 watts x 24 hours x 30 days= 360000
s we know that 1 Unit = 1kWhSo total kWh = 500 watts x 24 hours x 30 days= 360000So, we want to convert into units:
s we know that 1 Unit = 1kWhSo total kWh = 500 watts x 24 hours x 30 days= 360000So, we want to convert into units:Where 1 unit = 1kWh
s we know that 1 Unit = 1kWhSo total kWh = 500 watts x 24 hours x 30 days= 360000So, we want to convert into units:Where 1 unit = 1kWhTotal consumed units are as 360000/1000 = 360
s we know that 1 Unit = 1kWhSo total kWh = 500 watts x 24 hours x 30 days= 360000So, we want to convert into units:Where 1 unit = 1kWhTotal consumed units are as 360000/1000 = 360And, cost per unit is = 7, the total cost of the electricity bill is 360 x 7 = 2520( In $, £, €, INR, Rs, DHR, Riyal etc).
s we know that 1 Unit = 1kWhSo total kWh = 500 watts x 24 hours x 30 days= 360000So, we want to convert into units:Where 1 unit = 1kWhTotal consumed units are as 360000/1000 = 360And, cost per unit is = 7, the total cost of the electricity bill is 360 x 7 = 2520( In $, £, €, INR, Rs, DHR, Riyal etc).That’s it. Let’s get into programming.
Explanation:
hope it helps