結果 : duck number in java using while loop