I have 2d array that looks like this
0,7,0
7,3,3
8,0,3
I want to print such that the output looks like this(in non hard-coding way)
1st loop
0,7,0
7
8
2nd loop
0,7,0
3
0
3rd loop
0,7,0
3
3
4th loop
0
7,3,3
8
5th loop
7
7,3,3
0
6th loop
0
7,3,3
0
7th loop
0
7
8,0,3
8th loop
7
3
8,0,3
9th loop
0
3
8,0,3
I have no idea how should I code. Please give me tips. Thanks