dspjf @ 2017-10-28 18:11:45
#include<stdio.h>
int main()
{
int n;
int m;
scanf("%d",&n);
m= (n%10)*100 +(n/10%10)*10+(n/100);
printf("%d\n",m);
return 0;
}
by cqbzmjl @ 2017-10-28 20:01:14
要是负数的话这样计算是不对的
by dspjf @ 2017-10-28 22:11:32
@endless少校 好的知道了,谢谢啦