This is my question in Microsoft Visual Studio:
In many settings, it is necessary to gather input in forms sometimes in conjunction with a database but often also a standalone process.
As we can see from the reading, many different controls exist to help gather input from a form. Using assignment operators, variables store information in RAM while the program executes.
Write a form using multiple text boxes to gather input that includes:
1. the name of the patient
2. 10 character patient ID
3. input of room designation with a floor number and room number
4. input of projected duration of stay
5. Add a button to input data into appropriate variables and calculate room charges for a specified number of days. Add a text box to display result.
6. Include an error message for duration and charges so they only accept numerical input .
Capture a screenshot of the form in run mode (showing the calculation) and another in design mode with properties showing.