Skip to content

Latest commit

 

History

History
13 lines (7 loc) · 262 Bytes

File metadata and controls

13 lines (7 loc) · 262 Bytes

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