Question: home / study / engineering / computer science / computer science questions and answers / write a program that computes a patients bill for a

home / study / engineering / computer science / computer science questions and answers / write a program that computes a patients bill for a hospital stay. the different components ... Question: Write a program that computes a patients bill for a hospital stay. The different components of th... 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.

( Needed a working C++ code with an output example please)

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!