Guest User

Untitled

a guest
Apr 22nd, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. 3 -1 4 0
  2. 5 9 -2 6
  3. 5 3 7 -8
  4.  
  5. public static int sum(int[][] array) {
  6. int sum1 = 0;
  7. for (int[] arr : array) {
  8. for (int i : arr){
  9. sum1 += i;
  10. }}
  11. return sum1;
  12.  
  13.  
  14. }
Add Comment
Please, Sign In to add comment