Q2. write a program to accept any number and check the number is palindrome or not.

  • Enter the number:
  • The corresponding number is: