#include<stdio.h>
int main()
{
 int x,b0,b1,b2,s;
  printf("inputx:");
  scanf("%d",&x);
b2=x/100;
b1=(x-b2*100)/10;
b0=x%10;
s=b0*100+b1*10+b2;
printf("s=%d\n",s);
}

有键盘输入一个3位数,编程计算并输出它的逆序阿数

相关文章:

  • 2021-12-14
  • 2021-10-08
  • 2022-12-23
  • 2022-12-23
  • 2021-06-27
  • 2022-12-23
  • 2022-12-23
  • 2021-04-04
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-06-19
  • 2022-12-23
  • 2022-12-23
  • 2021-11-04
  • 2022-12-23
相关资源
相似解决方案