#include
int main()
{int a;
scanf("%d",&a);
printf("%d%d%d\n",a%10,a/10%10,a/100);
return 0;
}
#include
#define
N
3
void
main()
{
int
num,a[N],j,i=0;
printf("please
enter
a
number
change
from
100
to
999:\n");
scanf("%d",&num);
while(num!=0)//将各位数分离出来并装如数组中
{
a[i++]=num%10;
num/=10;
}
for(j=0;jprintf("%d
",a[j]);
}