Move Scanner in = new Scanner(System.in); to before do and in.close(); to after } while (loop == true); (basically, move the Scanner instantiation and closing to outside of the do-while loop.
0
solved Problems with resolving a while loop for a menu [closed]