#include <stdio.h> main(){ int a,b,c,m,n;
printf("请输入一个3位正整数:"); scanf("%d",&n); a = n % 10; b = (n/10)%10; c = (n/100)%10; m = a*100+b*10+c; printf("%d\n%",m); }
Smile4112655
雪颲
望远
相关分类