定义一个结构体类型,其成员:学号、姓名、性别(char型)、年龄、高数、计算机、物理、英语、总分、平均
2个回答
展开全部
typedef struct {
unsigned int no;
char name[32];
char sex;
unsigned char age;
unsigned int math;
unsigned int computer;
unsigned int physical;
unsigned int english;
unsigned int total;
float average;
}student_s:
unsigned int no;
char name[32];
char sex;
unsigned char age;
unsigned int math;
unsigned int computer;
unsigned int physical;
unsigned int english;
unsigned int total;
float average;
}student_s:
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
2011-05-04
展开全部
struct {
unsigned int no;
char name[32];
char sex;
unsigned char age;
unsigned int math;
unsigned int computer;
unsigned int physical;
unsigned int english;
unsigned int total;
float average;
}student;
unsigned int no;
char name[32];
char sex;
unsigned char age;
unsigned int math;
unsigned int computer;
unsigned int physical;
unsigned int english;
unsigned int total;
float average;
}student;
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询