theres no error gave out by the command prompt it just keep looping as if the entry was invalid (output shown below)
system username = MrWalsh123
system Password = Clarendon814
press enter to continue
welcome to the Clarendon Highschool skitrip
To log in as a Teacher press 1,To complete the student quiz press 21
Invalid input, please enter 1 to log in as a teacher or 2 to complete the student quiz1
Invalid input, please enter 1 to log in as a teacher or 2 to complete the student quiz1
Invalid input, please enter 1 to log in as a teacher or 2 to complete the student quiz1
Invalid input, please enter 1 to log in as a teacher or 2 to complete the student quiz1
Invalid input, please enter 1 to log in as a teacher or 2 to complete the student quiz1
Invalid input, please enter 1 to log in as a teacher or 2 to complete the student quiz2
Invalid input, please enter 1 to log in as a teacher or 2 to complete the student quiz2
Invalid input, please enter 1 to log in as a teacher or 2 to complete the student quiz2
Invalid input, please enter 1 to log in as a teacher or 2 to complete the student quiz22
Invalid input, please enter 1 to log in as a teacher or 2 to complete the student quiz2
Invalid input, please enter 1 to log in as a teacher or 2 to complete the student quiz3
Invalid input, please enter 1 to log in as a teacher or 2 to complete the student quiz3
Invalid input, please enter 1 to log in as a teacher or 2 to complete the student quiz3
Invalid input, please enter 1 to log in as a teacher or 2 to complete the student quiz4