Alright I got your program flow. What I need to understand now is that what error are you talking about? Are you talking about the error when a user enters some arbitrary character other than INTEGER or aSTRING?
— Why?
— If user puts some arbitrary character
— Alright
— While loop Dude, you are writing the same code for like a week
— Put up a check for it before it goes into the switch