Hi there i want a basic menu which the user inputs a number to chose from the menu. Thing is that i need to make sure that the input IS an integer. So i have an InputMismatchEx ception catch but when it occurs, the program just keeps outputting the menu over and over??
[code=java]
static Scanner sc = new Scanner(System. in);
public static void menu (){
System.out.prin tln("Please enter a number...