diff --git a/README.md b/README.md index 350dc7c..536bd41 100644 --- a/README.md +++ b/README.md @@ -161,6 +161,29 @@ j+1, sum[j], aver[j]); } } //4 函数功能:按选择法将数组sum的元素值排序 +void SortbyScore(STU stu[],int n,int m,int (*compare)(float a,float b)) +{ + int i, j, k, t; + for (i=0; i