:eek: Please... any time you feel compelled to initialise the while loop variable to the exact value that ensures the loop body will always be entered the first time, just use the do..while loop that...
Type: Posts; User: iMalc
:eek: Please... any time you feel compelled to initialise the while loop variable to the exact value that ensures the loop body will always be entered the first time, just use the do..while loop that...
I shudder to think what would have resulted if the program was meant to ask for 1000 grades rather than 20.
This wont compile either, due to the "smart quotes" that have been created by passing this...