void aver_score(float *score){ int i,j;float sum=0; float average; for (i=0;i<10;i++) { printf("all count:%f\n",score[i]); sum+=score[i]; } average=sum/10;printf("平均分:%f\n",average);}看你要用什么语言,c语言可以么