user-0 提问: 求大佬们帮着看看这个怎么做，搞了半天实在不会。

回复:
user: user-1
content: int main() {     int score[24][2]={ 			{50107101, 80}, 			{50107102, 85}, 			{50107104, 89}, 			{50107105, 80}, 			{50107106, 56}, 			{50107107, 89}, 			{50107108, 89}, 			{50107109, 82}, 			{50107110, 81}, 			{50107111, 90}, 			{50107112, 80}, 			{50107113, 89}, 			{50107114, 43}, 			{50107115, 82}, 			{50107116, 82}, 			{50107117, 96}, 			{50107118, 92}, 			{50107119, 90}, 			{50107120, 82}, 			{50107121, 9}, 			{50107122, 89}, 			{50107123, 82}, 			{50107124, 88}, 			{50107125, 90} 			};   	int Max_Score,Min_Score; 	double Average_Score; 	double Pass_Rate; 	int Count_score[5]={0};  	Max_Score = GetMax(score,24);//求最大 	Min_Score = GetMin(score,24);//求最小 	Average_Score = GetAverage(score,24);//求均值  	GetCount(score,24,Count_score);//小于60  61-70  71-80  81-90  大于90 	Pass_Rate = Get_Pass_Rate(score,24);//及格率  	sort_decline(score,24);//降序排列 	Print_Score(score,24);//显示成绩 	return 0; }

user: user-1
content: int GetMax(int score[][2],int len) {     int max,i;     max=score[0][1];     for(i=1;i<len;i++)     {         if(max<score[i][1])         {             max=score[i][1];         }     }     return(max); }  int GetMin(int score[][2],int len) {     int min,i;     min=score[0][1];     for(i=1;i<len;i++)     {         if(min>score[i][1])         {             min=score[i][1];         }     }     return(min); }  double GetAverage(int score[][2],int len) {     int average=0,i;     for(i=0;i<len;i++)     {         average+=score[i][1];     }     return (double)average/len; }  void GetCount(int score[][2],int len,int Count_score[5]) { 	int i; 	for(i=0;i<len;i++) 	{ 		if(score[i][1] < 60) 			Count_score[0]++; 		else if(score[i][1] < 70) 			Count_score[1]++; 		else if(score[i][1] < 80) 			Count_score[2]++; 		else if(score[i][1] < 90) 			Count_score[3]++; 		else 			Count_score[4]++; 	} }  double Get_Pass_Rate(int score[][2],int len) { 	int i,count=0; 	for(i=0;i<len;i++) 	{ 		if(score[i][1] < 60) 			count++; 	}  	return 1-(double)count/len; }  void sort_decline(int score[][2],int len) { 	int temp[2]; 	int i=0,k=0;  	for(i;i<len;i++) 	{ 		for(k=len-2;k>=i;k--) 		{ 			if(score[k][1]<score[k+1][1]) 			{ 				temp[0] = score[k][0];temp[1]=score[k][1]; 				score[k][0] = score[k+1][0];score[k][1]=score[k+1][1]; 				score[k+1][0]=temp[0];score[k+1][1]=temp[1]; 			} 		} 	} }  void Print_Score(int score[][2],int len) { 	int i=0; 	for(i;i<len;i++) 	{ 		printf("%d\t%d\r\n",score[i][0],score[i][1]); 	} }

user: user-0
content: 第一题我已经写完了，求大佬们教一个后面三题#include "stdio.h" int Array2Max(int x[][2],int n) {     int max,i;     max=x[0][1];     for(i=1;i<n;i++)     {         if(max<x[i][1])         {             max=x[i][1];         }     }     return(max); } int Array2Min(int x[][2],int n) {     int min,i;     min=x[0][1];     for(i=1;i<n;i++)     {         if(min>x[i][1])         {            min=x[i][1];         }     }     return(min); } int Average(int x[][2],int n) {     int i,sum;     float average;     sum=0;     for(i=0;i<n;i++)     {        sum+=x[i][1];        average=sum*1.0/n;      }      printf("average=%f\n",average);  }   int main(void) {     int score[24][2]={ 				{50107101,	80}, 				{50107102,	85}, 				{50107104,	89}, 				{50107105,	80}, 				{50107106,	56}, 				{50107107,	89}, 				{50107108,	89}, 				{50107109,	82}, 				{50107110,	81}, 				{50107111,	90}, 				{50107112,	80}, 				{50107113,	89}, 				{50107114,	43}, 				{50107115,	82}, 				{50107116,	82}, 				{50107117,	96}, 				{50107118,	92}, 				{50107119,	90}, 				{50107120,	82}, 				{50107121,	9}, 				{50107122,	89}, 				{50107123,	82}, 				{50107124,	88}, 				{50107125,	90} 			};     int max,min,grade[5]={0};     max=Array2Max(score,24);     printf("max=%d\n",max);     min=Array2Min(score,24);     printf("min=%d\n",min);     float average;     average=Average(score,24）；

user: user-0
content: 这是那个数组int main(void) {     int score[24][2]={ 				{50107101,	80}, 				{50107102,	85}, 				{50107104,	89}, 				{50107105,	80}, 				{50107106,	56}, 				{50107107,	89}, 				{50107108,	89}, 				{50107109,	82}, 				{50107110,	81}, 				{50107111,	90}, 				{50107112,	80}, 				{50107113,	89}, 				{50107114,	43}, 				{50107115,	82}, 				{50107116,	82}, 				{50107117,	96}, 				{50107118,	92}, 				{50107119,	90}, 				{50107120,	82}, 				{50107121,	9}, 				{50107122,	89}, 				{50107123,	82}, 				{50107124,	88}, 				{50107125,	90} 			};