A Palindromic Number is a number that is the same when written forwards or backwards.The first few palindromic numbers are therefore are 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 22, 33, 44, 55, 66, 77, 88, 99, 101, 111, 121, … etc. Let’s take one number from user. Then assign it to another temporary variable for performing operation purpose. Now take this temporary variable and execute the loop till this temp variable is not zero. Inside this loop take last digit of the number by finding modulus of the number and store to another variable,…