What will change their value to non-zero? To prevent an infinite loop their value has to be changed.
If you want to set an absolute limit to the number of times the loop will go around, use a...
Type: Posts; User: Norm
What will change their value to non-zero? To prevent an infinite loop their value has to be changed.
If you want to set an absolute limit to the number of times the loop will go around, use a...
Can you answer these questions?
What variable controls the loop?
Where is the value of that variable changed so that the looping can end?
What variable controls the loop? Where is the value of that variable changed so that the looping can end?
It will be one of the arrays on line 169. Add a println just before line 169 and print out all the variables' values and the size of all the arrays used on line 169.
The 169 is the source line number where the error happened. 100000 is the value of the index???
Check the statement where that happens and see why the value of the index is out of bounds for the array that is being indexed.
Remember array index values range from 0 to the array length-1
The...