Hi, can somebody help me with this loop [closed]

It’s testing your understanding of C flow control. What you’re looking for is something like:

if (array[i] < 5) {i++; continue; }  // increment, go back to while
if (array[i] > 10) break;            // leave while

Leave a Comment