China Naming Network - Ziwei Dou Shu - C language master came in to write a small program.

C language master came in to write a small program.

# 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]; }} return temp} void search _ level (int * arr, intarr_size){inti, excellent =0, good =0, medium =0, failure = 0; for(I = 0; I = 90){ Excellent++; } else if(arr[I]= 75){ well++; } else if(arr[I]& gt; = 60 & amp& amparr[I]= 3):); Scanf("%d ",& total); If (Total & lt3) Total = 3; score =(int *)malloc(sizeof(int)* total); for(I = 0; I < total; I++){printf ("Please enter the score of student %d:", I+1); scanf("%d ",& ampscore[I]); }first=search_first (score, total); Second=search_second (score, total); Third=search_third (score, total); Printf ("Best Achievement: \ n"); Printf("%d score: %d people \ n ",first, score _ count (score, total, first));); Printf("%d score: %d people \ n ",seconds, score _ count (score, total, second));); Printf("%d score: %d people \ n ",third, score _ count (score, total, third));); Search_level (fraction, total); }