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.
Numbers and figures are an essential part of our world, necessary for almost everything we do every day. As important…
APPROVED BY CLIENTS
Finding a professional expert in "partial differential equations" in the advanced level is difficult.
You can find this expert in "Assignmentexpert.com" with confidence.
Exceptional experts! I appreciate your help. God bless you!
Comments
Leave a comment