📄 readme.txt
字号:
/*3062211067 李晶晶*/
The database is stored in the database.csv,you can read the data from it or do modification.
five basic classes
Course.java record one course that contain student who have learned and the score which he gets
Student.java record one student that learn course and the score he gets
CourseInf.java record one couse that students have learnd and scores they get
Mark.java record the course and the score
CompareString.java to compare two strings which the strings may different number of spaces.
four main functions
The Input.java input the name of the student, the name of the course and the marks. then try to find the student in the database and add or replace the score for the course. If the student can not be found in the database, a new student should be created and be put into the database. If the course can not be found in the records of the student, a new record for the course should be created, otherwise, the score should be replaced by the newly inputed one.
The Import.java read the records from import.csv,and write data to database.csv(how to write is the same rule as the UpdateDBInput)
The QueryStudent.java input the student's name and list the course and scores this student have learned with the total and average score.
The QueryCourse.java input the course name and list the students and score gets with the number of students and average score.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -