Question: Using C# programming, create an application that calculates the total cost of a hospital stay. The daily base charge is $ 3 5 0 .
Using C# programming, create an application that calculates the total cost of a hospital stay. The daily base
charge is $ The hospital also charges for medication, surgical fees, lab fees, and
physical rehab. The application should accept the following input:
The number of days spent in the hospital
The amount of medication charges
The amount of surgical charges
The amount of lab fees
The amount of physical rehabilitation charges
Create and use the following valuereturning methods in the application:
CalcStayChargesCalculates and returns the base charges for the hospital
stay. This is computed as $ times the number of days in the hospital.
CalcMiscChargesCalculates and returns the total of the medication, surgi
cal lab, and physical rehabilitation charges.
CalcTotalChargesCalculates and returns the total charges.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
