Question: Question:3 Write the int reverse (int num) function whose input a an integer and whose output is the number reversed. For example, if the input

Question:3 Write the int reverse (int num) function whose input a an integer and whose output is the number reversed. For example, if the input is 1367 then the output is 7631. Hint: use Modulus operator Write a main, to prompt for an integer and then call your function to reverse the number and then print out both numbers. The number must be at least 6 characters long (e.g. 123456) but your program should handle any number length. Question4 Use your code from question 3 to determine if user's input (integer number) is palindrome or not. For example, if the input is 12321 then this number is a palindrome Also, 1221 is palindrome, but not 12324. Write a separate function for this task
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
