Хөрвүүлэх
#include<stdio.h>
#include<stdlib.h>
int main()
{
int a,b,c,d,e,f,g,h;
scanf("%d",&a);
b=a/100;
c=a%100/10;
d=a%10;
{
e=d*100;
f=c*10;
g=b*1;
h=e+f+b;}
printf("%d",h);
return 0;
}
#include<stdlib.h>
int main()
{
int a,b,c,d,e,f,g,h;
scanf("%d",&a);
b=a/100;
c=a%100/10;
d=a%10;
{
e=d*100;
f=c*10;
g=b*1;
h=e+f+b;}
printf("%d",h);
return 0;
}
Comments
Post a Comment