Home /
Expert Answers /
Computer Science /
please-help-me-in-this-c-program-you-are-required-to-design-a-class-that-calculate-electricity-bil-pa563
(Solved): please help me in this c++ program You are required to design a class that calculate Electricity bil ...
please help me in this c++ program
You are required to design a class that calculate Electricity bill named electricity_bill. It should have customer number, customer name and unit used. Perform following functionalities in electricity_bill class: 1) A parametrized constructor. 2) A copy constructor. 3) A function, which take details from user. 4) Count the number of customers. Hint*: make a static counter and a static function to display the value of that counter 5) A function to calculate electricity bill. Example: Total Consumed Units = 720. The cost of per unit electricity is 9. Therefore, the total Cost of Electricity Bill = 720 units x 9 = 6480. 6) A function to confirm that two objects of electricity_bill is not equal. Hint*: overload = operator which returns bolean. 7) A const function to display details of electricity_bill.
I have implemented the code Sequence class to display the result as per the given description. PLEASE FIND THE FOLLOWING CODE SCREENSHOT/OUTPUT AND CODE ANY CLARIFICATIONS REQUIRED LEAVE A COMMENT CODE SCREENSHOT: ------------------------------------