Following the sequence of steps given in the first screenshot and setting the minimum gpa to 4.7 results in no students being allocated to any university as can be seen from the second screenshot. However, when I list out all the students, it's clear that there are students with even a 5.0 gpa but they haven't been allocated to any university.
I changed the gpa of the first 4 students in the test.txt list to 5.0 for your reference. the screenshot is pasted below :
Following the sequence of steps given in the first screenshot and setting the minimum gpa to 4.7 results in no students being allocated to any university as can be seen from the second screenshot. However, when I list out all the students, it's clear that there are students with even a 5.0 gpa but they haven't been allocated to any university.
I changed the gpa of the first 4 students in the test.txt list to 5.0 for your reference. the screenshot is pasted below :