Computer Science, asked by poonambaral8093, 8 months ago

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 kat0028
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