(Solved):Design the class BillType with data members to store a patient’s ID and a patient’s hospital charges, such as pharmacy charges for medicine, doctor fee, and room charges. Add appropriate constructo… View Answer…

 

Question

Design the class BillType with data members to store a patient’s ID and a patient’s hospital charges, such as pharmacy charges for medicine, doctor fee, and room charges. Add appropriate constructors and member functions to initialize and access and manipulate the data members.

 

EXPERT ANSWER

For this program, we require two files namely,

1.BillType.h , class defintion file

2.BillType.cpp , class implementation file

The class BillType.h is a definition

Scroll to top