The while loop part 3
The While Loop
If you forget to increase the variable used in the condition, the loop will never end.
Make sure that the condition in a while loop eventually becomes false.
How many times will the while loop run, if we remove the counting variable increment statement:
Comments
Post a Comment