Вы находитесь на странице: 1из 1

Week2Assignment

Inmanysettings,itisnecessarytogatherinputinformssometimesin
conjunctionwithadatabasebutoftenalsoastandaloneprocess.Aswecansee
fromthereading,manydifferentcontrolsexisttohelpgatherinputfromaform.
Usingassignmentoperators,variablesstoreinformationinRAMwhilethe
programexecutes.
Writeaformusingmultipletextboxestogatherinputthatincludes:
1.
2.
3.
4.
5.

thenameofthepatient
10characterpatientID
inputofroomdesignationwithafloornumberandroomnumber
inputofprojecteddurationofstay
Addabuttontoinputdataintoappropriatevariablesandcalculateroom
chargesforaspecifiednumberofdays.Addatextboxtodisplayresult.
6. Includeanerrormessagefordurationandchargessotheyonlyaccept
numericalinput.
Captureascreenshotoftheforminrunmode(showingthecalculation)and
anotherindesignmodewithpropertiesshowing.

Вам также может понравиться