Өгөгдсөн натурал тоо палиндром тоо мөн үү?

‪#‎include‬ <stdio.h>
#include <conio.h>
void main ()
{long n,m,s=0;
printf ("n=");
scanf ("%d",&n);
m=n;
do { s=s*10+m_; m=m/10; } while (m);
if ( n==s) printf ("%d palindrom too mun",n);
else printf ("%d palindrom too bish",n);
getch ();
}

Comments