#include void main() { int n,num,rev,rem,sum,temp; char choice; sum=rev=0; choice='y'; clrscr(); while(choice!='n' || choice!='N') { printf("Enter a number: "); scanf("%d",&num); n=num; do { rem=num%10; sum=sum+rem; rev=rev*10+rem; num=num/10; } while (num!=0); printf("\nThe sum of digits of %d is %d",n,sum); printf("\nThe reverse of %d is %d",n,rev); if(rev==n) printf("\nThe Number %d is a Palindrome",n); else printf("\nThe numer %d is not a Palindrome",n); printf("\nDo you want to Continue ? Y/N:"); scanf("%c",&choice); } getch(); }