按照成績和年齡排序

題目描述web 輸入n個學生的成績和年齡,進行排序。按照成績進行排序,若成績相同的按照年齡排序。 代碼示例svg #include <stdio.h> typedef struct STU{ int score; int age; }; int cmp(struct STU stu, struct STU stu1); void BubbleSort(struct STU stu
相關文章
相關標籤/搜索