Remove lines 52 thru 54. Then add the following at line 20:
Then, at line 28, you can add this:
and put a closing bracket, one at each line 52 and 53 (where you removed the lines above).
while (true) {
while (mychoice != 4) {