rahuljai-05 / pe

0 stars 0 forks source link

Students not being allocated to the universities correctly when minimum gpa is changed #5

Closed rahuljai-05 closed 6 days ago

rahuljai-05 commented 6 days ago

Screenshot 2024-11-15 170640.png

Screenshot 2024-11-15 170652.png

Screenshot 2024-11-15 170658.png

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 :

image.png