#include <stdio.h>
int main()
{
int f;
printf("请输入一个三位的正整数:\n");
scanf("%d\n",&f);
int a= f/100;
int b= f/10%10;
int c= f%10;
printf("%d\n",c*100+b*10+a );
return 0;
}
相关分类