Array function not returning correct valuse

Printable View