#include<iostream.h>
#include<conio.h>
main()
{
clrscr();
int a,b,c,d,e,f;
cout<<"enter number=";
cin>>a;
b=a/10;
c=a%10;
d=b/10;
e=b%10;
if(f==a)
{
cout<<"\n palindrom";
}
else
{
cout<<"\n not palindrom";
}
getch();
}
No comments:
Post a Comment