SAE21_2022/PrintGrille.java

12 lines
330 B
Java

public class PrintGrille {
public PrintGrille(boolean[][] tab, int taille){
for(int i=0; i<taille; i++){
for(int j=0; j<taille; j++){
System.out.print(tab[i][j]+" ");
}
System.out.print("\n");
}
System.out.print("\n ------------ \n FIN \n");
}
}