3.2位数对调
作者:互联网
#include<stdio.h>
int main()
{
int n,a,b,c,m;
scanf("%d",&n);
a=n/100;
b=n/10%10;
c=n%100%10;
m=c100+b10+a;
if(c!=0)
printf("%d",m);
else
printf(“The number cannot be changed.”);
return 0;
}
标签:10,int,对调,number,3.2,位数,printf,include,100% 来源: https://blog.csdn.net/qq_52606374/article/details/119295953