scanner nextint after next double error code example
Example: sc.nextline skips
int option = input.nextInt();
input.nextLine(); // Consume newline left-over
String str1 = input.nextLine();
int option = input.nextInt();
input.nextLine(); // Consume newline left-over
String str1 = input.nextLine();