學生成績處理

(1)定義學生結構體,在結構體數組中,輸入了學生學號和兩門課的成績,計算均分後,輸出成績單,請在下面的程序基礎上,將程序補充完整。 數組 #include <stdio.h> #define N 100 /*N表示最多容許的學生人數*/ struct Student { int num; //學號 int c; //C語言成績 int math; //數學成績 float
相關文章
相關標籤/搜索