Nested loop in 2D array stores same value across rows

Printable View