Decommissioning of the 2nd stiff force



  • Like the 2nd tetanus, that's if 3x3 then Øbr constant 0 0 0 0-0ventbr constituent 0 0 0 0-0ventbr constituent 0 0 0 0-0ventbr constituent And I'm getting this straight. 0ventbrary 0ventbrary 0ventbrary 0ventbrary 0ventbrary 0ventbrary 0ventbrary 0ventbrary 0ventbrary verbal character

    int[][] map = new int[5][5];
    
                for(int i = 0; i < 5; i++){
                    for(int j = 0; j < 5; j++) {
                        map[i][j] += 0;
                        System.out.println(map[i][j]);
                    }
                }
    



  • Turn your head on. println removes the text and translates the line. We need to move the line only in the outer cycle.

    int[][] map = new int[5][5];
    for(int i = 0; i < 5; i++){
      for(int j = 0; j < 5; j++) {
        map[i][j] += 0;
        System.out.print(map[i][j]);
        System.out.print(" ");
      }
      System.out.println();
    }
    

Log in to reply
 

Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2