B4Coder
0%
LessonAbout 7 min

Chapter 5 · Lesson 2 of 5

02. Looping over an array

A for loop from 0 to length - 1 visits every value in an array: to print them, add them up, or fill the array from input.

Opening the lesson…