結果 : write ac program to input a number and calculate its reverse using function