请教一个问题,谢谢各位 裤衩,猩猩~
micty 2004-08-12 09:54:18 #include<stdio.h>
void main()
{
int x,max;
printf("input numbers,last one is 0: ");
scanf("%d",&x);
max=x;
for(;x!=0;)
{
scanf("%d",&x);
if(max < x)
max=x;
}
printf("max=%d\n",max);
}
能帮我分析一下结构吗,for 那里那样些也行吗~?