include stdio include stdlib int main void int N1 N2 printf Enter scan

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
#include <stdio.h>
#include <stdlib.h>
int main(void)
{
int N, N1, N2;
printf ("Enter N\n");
scanf ("%d", &N);
N2=N;
N1=0;
while (N>0)
{
N1=N1*10+N%10;
N/=10;
}
if (N1==N2)
printf ("YES!\n");
else
printf ("NO!\n") ;
system("PAUSE");
return 0;
}