It does that because input.nextInt(); doesn't capture the newline. You could do like the others proposed by adding an input.nextLine();
確定! 回上一頁