For5

Exercise

Inside the for loop: Set the counter variable (i) to 0. Run the loop as long as i is less than the length of the food array. Increment i by 1.

Your code

Result

All exercises · Next: For6 →