結果 : while loop to check user input java