0
Two dimensional array
How would I write a method that prints all the values in a 2-dimensional array that it receives as a parameter assuming it is an array of integers
1 Odpowiedź
+ 1
Similar as you will use single loop for printing 1-d array, for 2d array you need to loop, 1 for row, another for column..
a[i][j], I is row index, j is column index..
Make column loop inner to row loop....
Try this now.. Post your try...