Silently finished the first System program: Test Results Management System:
One. Main functions:
A Login
*a Registration: Add admin account and password
*b Login: Match with account and password, login is successful. Otherwise the prompt fails
*c exit: Exits the entire program.
* Two. Score Management
* 1. Add the student's name and score.
Change the score.
Delete the score and student's name. "
Check the score by student name. "
Check all student scores. "
*6. The average score of all students is counted. "
*7. Return to the previous level. "
Two. The main problems that arise are:
1. Strings are to be used in equals, for example:
String a = "a";
String B = "B";
if (A.equals (B)) {
System.out.println ("more successful. ");
}
2.equals cannot compare null, an error occurs.
3. For each module, a while loop is added. It feels better to use flag, and it's not easy to get it wrong. The overall format structure is also more normative.
Exam Results Management System: