求助大佬们,这里我想让它输出不同的c为什么不可以啊?这个printf(“%d”,c)不可以循环输出不同的c的吗?感谢回答
你这写的太复杂了
int x; scanf("%d",&x); while(x>0) { int a=x%10; printf("%d ",a); x=x/10; }