array prints incorrect values

Printable View