結果 : how to reverse number in java using for loop