c语言高手进来写个小程序。
# include # include # includeintscore _ count(int * arr,intarr_size,intscore){inttotal=0,I;for(I = 0;itemp){ temp = arr[I];} } returntemp}intsearch_second(int*arr,intarr_size){inttemp=0,I;intfirst=search_first(arr,arr _ size);for(I = 0;itemp){ temp = arr[I];} } returntemp}intsearch_third(int*arr,intarr_size){inttemp=0,I;intfirst,secondfirst=search_first(arr,arr _ size);second=search_second(arr,arr _ size);for(I = 0;itemp){ temp = arr[I];} } returntemp}voidsearch_level(int*arr,intarr_size){inti,优秀=0,良好=0,中等=0,失败= 0;for(I = 0;I = 90){ 优秀++;} else if(arr[I]= 75){ well++;} else if(arr[I]& gt;= 60 & amp& amparr[I]= 3):);scanf("%d ",& amp合计);if(总计& lt3)合计= 3;score =(int *)malloc(sizeof(int)* total);for(I = 0;我& lt总计;I++){printf("请输入学生%d的分数:",I+1);scanf("%d ",& ampscore[I]);}first=search_first(分数,合计);second=search_second(得分,合计);third=search_third(得分,合计);Printf("最佳成绩:\ n ");Printf("%d分数:%d人\ n ",first,score _ count (score,total,first));Printf("%d score: %d people \ n ",秒,score _ count (score,total,second));Printf("%d score: %d people \ n ",第三,score _ count (score,total,third));search_level(分数,合计);}