The problem I'm having right now is my output. I'm trying to get it to match my expected output, but I can't seem to figure it out. It probably has to do with some missing else if() statements in the second for loop.
I'm still new to programming, but if I could get any advice on how to get my output to match the expected output, I would appreciate it!
Seems like overall GPA is the GPA of all semesters added up and then divided by the amount of semester that were added together.
As for after that, I don't know what you're doing. Just output their ID, space, their name, 2 new lines, their classes, credits, grade, GPA, and then "=====", and their overall GPA under that. All the data you need is in the student array.
Try getting the output correct just for the first person. Once you have, then you can use a loop to have it output the same way for each person after that.
your output may be stale. The version posted will not compile, so whatever you ran is the last version before you made changes to it that did compile, which may be wrong (probably is, since you were editing it).
once you get it in sync,
the output loop looks too complex.
the variable check is never changed in that loop, so it only works as you think it should on the first one (where check == 0). At least it looks wrong to me with that logic.
nevermind, take a look at these 2 things and ask again after that... thought I saw something else.