diff --git a/xjxt4.cpp b/xjxt4.cpp new file mode 100644 index 0000000..c092a80 --- /dev/null +++ b/xjxt4.cpp @@ -0,0 +1,70 @@ +#include +typedef struct{ + int Id; + int mclass; + float a,b,c; + float total; +}Student; +void sort(Student *person,int len) +{ + for(int i=0;iperson[j].mclass||(person[k].mclass==person[j].mclass&&person[k].total