Trying to compare an int variable to an index in an array

Printable View