Your ending curly brace on line 121 that says it is the end of switch is actually ending the open curly brace on line 46 that goes with the while statement.
Double-check your curly braces. You need an extra one in your program I think.
As a side-note, indent your code so that everything inside a brace gets indented over... that will help you immediately see what code goes within which curly brace.