64 634
Assignments Done
99,2%
Successfully Done
In September 2018

Answer to Question #17946 in C++ for Jeremy Spackman

Question #17946
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 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 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.
Expert's answer

Unfortunately, your question requires a lot of work and cannot be done for free.
Submit it with all requirements as an assignment to our control panel and we'll assist you.

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions