HELP ME!!
#include <stdio.h>int main()
{int a,max=0,i=1;
while(i<=10)
{
printf("\n请输入第%d个数值:");
scanf("%d",&a);
if(max<a)
max=a;
i=i+1;
}
printf("max=%d\n",max);
return 0;
}
----------------解决方案--------------------------------------------------------
THERE IS SOMETHING WRONG IN IT,AND IT CANNOT WORK!!!
----------------解决方案--------------------------------------------------------
printf("\n请输入第%d个数值:");//ERROR!!
----------------解决方案--------------------------------------------------------
printf("\n请输入第%d个数值:");
;错了 还有 %d 对应的是 printf("\n请输入第%d个数值:",i);
----------------解决方案--------------------------------------------------------