having an array index out of bounds problem

Printable View