you could also use a SENTINEL constant value that the user can type to escape the loop. make another switch statement after the
System.out.println("Again?");
String again = input.nextLine(); that...