Possibly because of this.
line 62
{coursesTaken = coursesTaken++;
Change to
{coursesTaken++;
or
{coursesTaken = coursesTaken+1;
or
{coursesTaken += 1;
Also this line may need to be moved outside the while loop.
qualityPts = qualityPts + (4*Acount+3*Bcount+2*Ccount+1*Dcount);
Last edited on
thanks man. moving qualityPts out fixed it