Skip to main content
1 of 5
Andre Kampling
  • 5.6k
  • 2
  • 23
  • 48

Your loop must be:

for(i = start; i <= start + count; i++) { ... } 

to count until the end is reached.

Andre Kampling
  • 5.6k
  • 2
  • 23
  • 48