The problem is is that when I compile the program it is allowing me to enter as many grades as I want and that is what I want but what I need to be able to do it have a session where I can enter grades for the section2. Also when the counter is calculating it is giving me 1 more than I should have counted.
I am a beginner so I am not perfect at this stuff. Thank you in advance.Ok, here is my code
I'd suggest not to place the green check mark if your issue isn't solved...
which is giving me one more than how many grades I tested it with.
This is due to line 36 where you increase the count without reason.
On line 46 you increase it again without any reason but that has no effect. It's just, writing it so count = count += 1; does not make too much sense.
You can write it so: