#include"stdio.h" #include"stdlib.h" #include"string.h" //用于调用一些函数 struct person { ]; int ID; int chinese; int english; int math; struct person *next; //连接处的指针 }; //由于create里面就有initialize所以先把initialize放在前面 void initialize(str
1.先写一个Student类 public class Student { private String name; private int chinese; private int math; private int english; public Student() { super(); } public Student(String name, int chinese, int math, int english) { this.name = name; this.chinese = ch
问题描述: 从键盘读入学生成绩,找出最高分,并输出学生成绩等级. 成绩>=最高分-10 等级为’A’ 成绩>=最高分-20 等级为’B’ 成绩>=最高分-30 等级为’C’ 其余等级为’D’ 提示:先读入学生人数,根据人数创建int数组,存放学生成绩. 请输入学生人数:5 请输入5个成绩 56 74 89 41 89 最高分是:89 student 0 score is 56 grade is D student 1 score is 74 grade is B stu