运行时结果不对。。
#include<stdio.h>void main()
{
int max,score[40];
int i,n,mun;
printf("input total number:\n");
scanf("%d",&n);
printf("input score:\n");
for(i=0;i<n;i++)
scanf("%d",&score[i]);
max=score[0]; mun=0;
for(i=1;i<n;i++)
if(score[i]>max);
{max=score[i];mun=i;}
printf("max=%d;mun=%d",max,mun);
}