//4.
//打印一个学生信息
void printOneStudentInfo(STUDENT s){
printf("score=%f sex=%c name=%s age=%d DATE=%d-%d-%d\n", s.score, s.sex, s.name, s.age, s.date.year, s.date.month, s.date.day);
}
void printOneStudentInfo(STUDENT s){
printf("score=%f sex=%c name=%s age=%d DATE=%d-%d-%d\n", s.score, s.sex, s.name, s.age, s.date.year, s.date.month, s.date.day);
}
//5.
//打印所有学生的信息,嵌套使用打印信息
void printAllStudentInfo(STUDENT s[], int count){
for (int i = 0; i < count; i++) {
printOneStudentInfo(s[i]);
}
}
void printAllStudentInfo(STUDENT s[], int count){
for (int i = 0; i < count; i++) {
printOneStudentInfo(s[i]);
}
}