3. An electricity board charges the following rates to domestic users to discourage large consumption of energy. • For the first 100 units – 50 P per unit • Beyond 100 units - 60 P per unit If the...


write a programm in c++ oop



3. An electricity board charges the following rates to domestic users to discourage large<br>consumption of energy.<br>• For the first 100 units – 50 P per unit<br>• Beyond 100 units - 60 P per unit<br>If the total cost is more than Rs.250.00 then an additional surcharge of 15% is added<br>on the difference. Define a class Electricity in which the function Bill computes the<br>cost. Define a derived class More_Electricity and override Bill to add the surcharge.<br>

Extracted text: 3. An electricity board charges the following rates to domestic users to discourage large consumption of energy. • For the first 100 units – 50 P per unit • Beyond 100 units - 60 P per unit If the total cost is more than Rs.250.00 then an additional surcharge of 15% is added on the difference. Define a class Electricity in which the function Bill computes the cost. Define a derived class More_Electricity and override Bill to add the surcharge.

Jun 08, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here