結果 : write a program to reverse the digits of a number using function