编辑代码

#include <stdio.h>
int main () {
   int a,b,c,d,e,f = 0;
   scanf("%d",&a);
   b = a/100;
   c = a%100;
   d = c/10;
   e = c%10;
   f = e*100+d*10+b;
   printf("%d\n",f);
    return 0;
}