9.29 LAB: Drop student (EO)
Complete the Course class by implementing the dropStudent() method, which removes a student (by last name) from the course roster. If the student is not found in the course roster, no student should be dropped.
Given classes:
Ex: If the following students and their GPA values are added to a course:
Henry Nguyen with 3.5 GPABrenda Stern with 2.0 GPALynda Robison with 3.2 GPASonya King with 3.9 GPA
then dropStudent(last), where last is "Stern", removes a student and the program output is:
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here