我也喜欢用数组来做 int a[4],i,max; for(i=0;i<4;i++) { scanf("%d",&a[i]); max=a[0]; if(a[i]>max) max=a[i]; }
2

相关推荐

牛客网
牛客网在线编程
牛客网题解
牛客企业服务