You need to access the elements that are in the array. That is done using array notation with []s
For example this accesses the element in theArray at theIndex:

theArray[theIndex]

The...