Write a program that computes a patient’s bill for a hospital stay.
The different components of the program are

The
PatientAccount
class
will keep a total of the patient’s charges. It will
also keep track of the number of days
spent in the hospital. The group
must decide on the hospital’s daily rate.

The
Surgery
class
will have stored within it the charges for at least five
types of surgery. It can update the
charges
variable of the
PatientAccount
class.

The
Pharmacy
class
wil
l have stored within it the price of at least five
types of medication. It can update the
charges
variable of the
PatientAccount
class.

The
main
program.
The student who designs the main program will
design a menu that allows the user to enter a type of
surgery, enter one or
more types of medication, and check the patient out of the hospital. When
the patient checks out, the total charges should be displayed.