so im going an assignment and for one part of the question it asked me to make a a label for number of people but only to 0-9 ppl how would i make a statement for that on my program
Include a Text Box for the user to enter the number of people with an associated label
It is an error if ‘number of scoops’ is not entered. Issue a message box indicating that it must be entered, and set the focus in the scoops text box. Number of scoops must be 1 to 9. If it isn’t, issue a message.
so therefore if someone were to type in the txt box they cant type anything more then 9?


