Write a C++ Program (in OOP) to calculate and display a customer's electric bill. The program details are the following:

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

Write a C++ Program (in OOP) to calculate and display a customer's electric bill. The program details are the following:

Post by answerhappygod »

Write A C Program In Oop To Calculate And Display A Customer S Electric Bill The Program Details Are The Following 1
Write A C Program In Oop To Calculate And Display A Customer S Electric Bill The Program Details Are The Following 1 (53.44 KiB) Viewed 25 times
Write a C++ Program (in OOP) to calculate and display a customer's electric bill. The program details are the following: • A class called ElectricBill with private data members for the customer account, customer's name, address, current reading, previous reading and the unit of charge assuming a fix value of Php 0.09.00. • A public function get_customerData(), task is to get the information of the customer • A public function calculate_bill(), task is to calculate the total charge of the customer in peso • A public function display_raise(), task is to display both the information and the total electric bill to be paid by the customer Also, add feature in the program that will ask the user to repeat or not the execution of the program. Sample output: Account : 001 b Name : Richard Galvez Address Tibanga, Iligan City Current Reading : 53512 Previous Reading: 51875 Units Used: 1637 Charge per unit: .09 TOTAL CHARGE Php 147.33
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply