Use a for loop.

An array has a variable called length. It is the length of the array, though you want to go to one less than this length as array indexes start at 0.

a for loop syntax looks...