What you want to do is move the loop so the input and the switch statement is contained within it.
Easiest way would be to make it a while loop with the condition true, but give the loop a label and...