Program not executing array correctly

Printable View