11.8输入一个整数,求它是几位数 #include<stdio.h> main() { int a,i,y; scanf("%d",&a); for(i=0;a;i++) a=a/10; y=i; printf("y=%d ",y); } 456 y=3 正确使用for,要简洁