A. Write a value‐returning function called length() that takes a positive integer and
returns the number of digits in that integer.
B. Using the written function in part A, write a value‐returning function called ispalindrome(),
while 5675 is not palindrome. The function takes a positive integer and
returns true if the integer is a palindrome and false otherwise.
Test your functions by writing a main function that prompts the user to input an integer
and outputs its number of digits and "It Is a Palindrome" message if it is a palindrome,
otherwise "It Is not a Palindrome".