Array Simulation help?? Getting wrong output.

Printable View