HospitalCharges Application…….solved

$20.00

Category:

Description

5/5 - (2 votes)

Create an application that calculates the total cost of a hospital stay. The application should accept the following input:
• The number of days spent in the hospital, as an integer
• The amount of medication charges
• The amount of surgical charges
• The amount of lab fees
• The amount of physical rehabilitation charges
The hospital charges $350 per day.
Input Validation: Do not accept a negative value for length of stay, medication charges, surgical charges, lab fees, or physical rehabilitation charges. When displaying error messages, use a Label control and specifically name the missing field and the type of data to be entered (integer or numeric).