Matriz 2

package matrices.pkg2;

public class Matrices2 {
 
    public static void main(String[] args) {
 
        int [][] matriz= {{2,4,4},{6,6,9},{8,10,12}};
        for (int x=0; x< matriz.length; x++) {
                   for (int y=0; y< matriz[x].length; y++){
                       System.out.println(matriz[x][y]);
    }
        }
    }
}
esme • 42 min

Comentarios

Entradas más populares de este blog

Matriz abecedario