This is a problem for Visual Basic, so I need the answer translated in Visual Ba
ID: 3681325 • Letter: T
Question
This is a problem for Visual Basic, so I need the answer translated in Visual Basic. Any additional notes and comments will be greatly appreciated! I need to create an application that calculates the total cost of a hospital stay. I'd like for you to specify what part of the form you are using in your code so I can follow along. It should accept the following input: number of days spent in hospital (as an integer), amount of medication charges, amount of surgical charges, amount of lab fees, and the amount of physical rehab. fees. The hospital charges $350 a day. Create 4 functions (I'm having a hard time delcaring functions and am confused as to what their purpose is, so I'd really like some explanation here): A. CalcStayCharges- Calculates and returns base charges for the hospital stay. This is computed as $350 times the number of days spent there. B. CalcMiscCharges- Calculates and returns the total of the medication, surgical, lab, and physical rehabilitation charges. C. CalcTotalCharges- Calculates and returns total charges. D. ValidateInputFields- Checks the validity of the input fields by converting each to a numeric value and checking its range. If any input field is found to be invalid, this function displays an error message and returns a value of False. Also, do not accept a negative value for days spent, medication charges, surgical charges, lab fees, or physical rehab charges (I'm not sure how to specifically do this). When displaying error messages, use a Label control and specifically name the missing field and the type of data to be entered (numerical).
Explanation / Answer
Plz go through the bellow link and download the application using link and run the application.let me know your comments.
http://we.tl/cq1NDttPGr
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.