A loop is necessary for this program because you do not know how many grades the user is going to enter. Read his previous message.
:)
Type: Posts; User: Staticity
A loop is necessary for this program because you do not know how many grades the user is going to enter. Read his previous message.
:)
It does receive multiple Values. As of now, based off your code, the user would have to input a value less than or equal to 0, to loop out of your loop. I suggest you think your logic through a bit...
Welcome AATroop..
1. You aren't using a for loop in this code (nor should you), you are using a Do While Loop.
2. You are on the right track for making the scanner accept multiple values. I'm not...