Program 50
Write a program to check whether a given number is a palindrome or not.
Variable description--
n=Holds the element which is to be checked
temp=Holds the copy of the element
rev= Holds the reverse of the number
rem=Holds the digits of the number