#include <stdio.h>
#define N 10
int sort(int score[]){
int i,s,a;
for(i=0;i<N;i++)
{
if(socre[i]>score[i+1])
{
s=score[i];
score[i]=score[i+1];
score[i+1]=score[i];
}
a+=score[i];
}
}
int max(int score[]){
return score[N];
}
int min(){
return score[0];
}
int average(){
return a/N;
}
int all(){
return a;
}
int main()
{
int score[N]={67,98,75,63,82,79,81,91,66,84};
return 0;
printf("考试总分为%d\n",all);
printf("考试的最高分为%d\n",max);
printf("考试的最低分为%d\n",min);
printf("考试的平均分为%d\n",average);
printf("考试成绩升序排序为%d\n",score);
}