Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Added: Dec 13, 2020 2:54 PM
Views: 2
Tags: twodimarray
  1.     int[][] table = { {1,4,9},{11,4,3},{2,2,3} };
  2.          int sum = 0;
  3.  
  4.          for (int col = 0; col < table[0].length; col++)
  5.          {
  6.              sum += table[1][col];
  7.          }
  8.