#include <stdio.h>
#include <stdlib.h>
#define SIZE 5
int main()
{
FILE *fp;
int i;
struct student
{
int num;
char name[20];
float score1;
float score2;
float score3;
float ave;
}stu[SIZE];
//输入5个学生信息
printf("请依次输入5个学生的学号、姓名、三门课程成绩:\n");
for(i=0;i<SIZE;i++)
{
printf("No.");
scanf("%d%s%f%f%f",&stu