a. Write a program to reverse the digits of a positive integer number. For example, if the number 8735 is entered, the number displayed should be 5378. After a units digit is displayed, dividing the number by 10 sets up the number for the next iteration. Therefore, (8735 % 10) is 5 and (8735 / 10) is 873. The do statement should continue as long as the remaining number is not zero.
b. Run the program written in Exercise 3a on a computer and verify the program by using appropriate test data.