【C語言】用結構體數組完成:有5個學生(包括學號,姓名,成績),要求按照成績高低輸出學生信息.

//用結構體數組完成:有5個學生(包括學號,姓名,成績),要求按照成績高低輸出學生信息 #include <stdio.h> struct Stu { int num; char name[20]; int score; }; int main() { int i,j; struct Stu student[5]={{317,"han",89},{318,"hu",50},{319,"k
相關文章
相關標籤/搜索
本站公眾號
   歡迎關注本站公眾號,獲取更多信息
相關文章