float fun ( float *a , int n ){ int i; float s=0,t; for(i=0;i s=s+a[i]; t=s/n; return(t);}
float fun(int score[],int n){ int scoreSum=0; for(int i=0;i { scoreSum+=score[i]; } return scoreSum*1.0/n;}