文件名称:1
介绍说明--下载内容均来自于网络,请自行研究使用
结构体与共用体的一个小程序。
(1) 输入实际学生人数n (2<n<4);
(2) 输入每个学生的信息,组成结构数组,并输出;
(3) 统计男、女生人数并输出;
(4) 计算全班平均成绩并输出;
(5) 将低于全班平均成绩的学生信息按行输出
-A small program structures and unions.
(1) Enter the actual number of students n (2 <n <4)
(2) Enter the information for each student, consisting of an array of structures, and outputs
(3) Statistical male, female students and outputs
(4) calculating grade point average and class output
(5) will be lower than the average score of students in the class of information by line output
(1) 输入实际学生人数n (2<n<4);
(2) 输入每个学生的信息,组成结构数组,并输出;
(3) 统计男、女生人数并输出;
(4) 计算全班平均成绩并输出;
(5) 将低于全班平均成绩的学生信息按行输出
-A small program structures and unions.
(1) Enter the actual number of students n (2 <n <4)
(2) Enter the information for each student, consisting of an array of structures, and outputs
(3) Statistical male, female students and outputs
(4) calculating grade point average and class output
(5) will be lower than the average score of students in the class of information by line output
(系统自动生成,下载前可以参看下载内容)
下载文件列表
1.c