You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
320 B
12 lines
320 B
#include "mysyslib.h"
|
|
|
|
void Print(Student*student){
|
|
printf("%s,%s,%s,%.1lf,%.1lf,%.1lf,%.1lf\n",student->id,student->class,student->name,student-> score1,student->score2,student->score3,student->score);
|
|
}
|
|
|
|
void allPrint(ss*stu){
|
|
for(int i = 0; i < stu->nums; ++i){
|
|
Print(&stu->student[i]);
|
|
}
|
|
}
|