Hospital Charges solution


Original Work ?
Category: You will Instantly receive a download link for .ZIP solution file upon Payment


5/5 - (1 vote)

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).