Hi, I am looping through an array, and checking each position in the array to see if it equal to 1. If it isn't, I set it equal to one. If it is, I move on to the next position and check again. If I'm looking at an index that is higher than the length of my array, I start over from index 1.
The problem is, after I loop back to the first index of the array, I can never increment the index again.
Here is a cap to demonstrate the problem
Am I doing something stupid with the loop? Thanks for any assistance!