|
@ -552,8 +552,11 @@ public class Administration { |
|
|
return false; |
|
|
return false; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public void viewGradesFromStudent(String studentId) { |
|
|
|
|
|
|
|
|
public void viewGradesFromStudent() { |
|
|
|
|
|
System.out.print("Enter Student ID to view grades: "); |
|
|
|
|
|
String studentId = scanner.next(); |
|
|
Student student = findStudentById(studentId); |
|
|
Student student = findStudentById(studentId); |
|
|
|
|
|
|
|
|
if (student != null) { |
|
|
if (student != null) { |
|
|
student.printGrades(); |
|
|
student.printGrades(); |
|
|
} else { |
|
|
} else { |
|
|