0
For the array a[ [1,1],[1,1] ] You need to create a nested loop to move across the array for i++ until rowLength-1 for j++ until colLength-1 then each time add your value a(i,j) to your sum sum = sum + a(i,j)
28th Nov 2017, 8:26 PM
philhyp
philhyp - avatar