This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#define N 11 | |
typedef struct info { | |
int id, Chinese, Math, English; | |
char name[32], sex[32], class[32]; | |
double ave; | |
} Info; // 定义结构体并定义别名,方便调用 |