Input a grade number [9-12] and print Freshman, Sophomore, Junior, or Senior. If it is not in [9-12], print Not in High School.
Answers
Answered by
0
Answer:
(Presuming your using a Visual Basic . NET form)
Sub button1_click.....
If textbox1.text = 9 then
textbox2.text = Freshman
ElseIf
textbox1.text = 10 then
textbox2.text = Sophomore
ElseIf
textbox1.text = 11 then
textbox2.text = junior
ElseIf
textbox1.text = 12 then
textbox2.text = Senior
EndIf
Explanation:
This may not help
Similar questions