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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started