Palindrome Program in C++ #include iostream.h #include conio.h void main() {clrscr(); int a,b,c,d=0; cout<<“Enter number:”; cin>>a; b=a; do { c=b%10; d=(d*10)+c; b=b/10; } while (b!=0); cout<<d<<endl; if (a==d) { cout<<“It is a palindrome!”; } else { cout<<“It is not a palindrome!”; } getch(); } Share this:Click to share on Twitter (Opens in new window)Click to share on Facebook (Opens in new window)Click to share on WhatsApp (Opens in new window)Click to email a link to a friend (Opens in new window)Click to share on LinkedIn (Opens in new window)Click to share on Tumblr (Opens in new window)Like this:Like Loading... Related