結果 : reverse a number using while loop in java