Question: Write a program that computes a patients bill for a hospital stay. The different components of the program are The patientAccount class The Surgery class

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

The patientAccount class

The Surgery class

The Pharmacy class

The main program

-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 will have stored within it the price of at least five types of medication. It can update the charges variable of the PatientAccount class.

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

To be more specific the question is from the textbook itself where it says "Ask an expert," Starting out with C++ Chapter 13, Programming Question #20

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!