Question: **********************// visual studio C++ //************************* ********I need help in this program,other programs that are available in chegg do not work well in (visual studio C

**********************// visual studio C++ //*************************

********I need help in this program,other programs that are available in chegg do not work well in (visual studio C ++)**********

Divide by classes.

Parameters and return types of each function and class member function should be decided in advance.

The program will be best implemented as a multi-file program.

Write a program that computes a patient's bill for a hospital stay. The different components are:

PatientAccount Class

Surgery Class

Parmacy Class

main program

Patient Account will keep total of the patient's charges. Keep track of the number of days spent in the hospital. Group must decide on hospital's daily rate.

Surgery class will have stored within it the charges for at least five types of surgery. It an update the charges variable of the PatientAccount class.

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.

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

output

**********************// visual studio C++ //************************* ********I need help in this program,other programs

that are available in chegg do not work well in (visual studio

Please input the initial dollars 402 Please input the initial cents 78 Would you like to make a deposit? Y or y for yes Please input the dollars to be deposited 35 Please input the cents to be deposited 67 Would you like to make a deposit? Y or y for yes Please input the dollars to be deposited 35 Please input the cents to be deposited 67 Would you like to make a deposit? Y or y for yes

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!