Write a function that takes an integer and reverses the digits. The function returns the reversed number to main. Here is the prototype for this function. Write main() to test this function. Use only int data type and arithmetic to solve this problem.