#include <stdio.h>
#include <stdlib.h>
int main()
{
int j,c1,c2,c3,k;
scanf("请输入三位整数");
c1=j/100;
c2=(j-c2/100)/10;
c3=j%10;
k=c3*100+c2*10+c1;
printf("%d %d\n",j,k);
return 0;
}
04-03
#include <stdio.h>
#include <stdlib.h>
int main()
{
int j,c1,c2,c3,k;
scanf("请输入三位整数");
c1=j/100;
c2=(j-c2/100)/10;
c3=j%10;
k=c3*100+c2*10+c1;
printf("%d %d\n",j,k);
return 0;
}