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