第四行结尾的分号删除
struct stu{int num;char name[20];char sex;float score;};struct stu boy1,boy2;说明了两个变量boy1和boy2为stu结构类型。