C programs and question bank.
a=n; while(n>0) { r=n%10; sum=sum*10+r; n=n/10; } if(a==n) printf("the num is palindrome"); else printf("the num is not palindrome"); getch(); }
No comments:
Post a Comment