×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Added: Dec 13, 2020 7:19 PM
Views: 4636
Tags: twodimarray
  1.  public static boolean combinedBooleans(int[][] square){
  2.         boolean antwort = false;
  3.  
  4.        
  5.  
  6.         if(checkSumRow(square) == checkSumCol(square) && checkSumRow(square) == checkSumDia(square) && checkRightElements(square) == true){
  7.             antwort = true;
  8.         }
  9.  
  10.         return antwort;
  11.     }