C语言程序代码如下
#include<stdio.h>
int main()
{ int number,a,b,c;
printf("请输入一个三位数字的运算数:",&number);
scanf("%d",&number);
a=number/100;
b=(number-a*100)/10;
c=number%10;
printf("反序数是:%d%d%d",c,b,a);
return 0;
}
运算结果
Views: 208