Welcome to Scribd!
Academic Documents
Professional Documents
Culture Documents
Hobbies & Crafts Documents
Personal Growth Documents
h>VOID MAIN(){int inv,s,n,c,x;cout<<"n=",cin>>n;inv=0,x=n;while(x!=0){c=x%10;inv=inv*10+c;x=x/10;}if(inv==x) cout<<"DA";else cout<<"NU";}