Elizabeth Limachi Cachaca

All generations.

generate functionThu, 03 Oct 2024

generar una matriz de 3 por 3

ublic static void main(String[] args) { int [][] matrix = new int[3][3]; matrix[0][0] = 1; matrix[0][1] = 2; matrix[0][2] = 3; matrix[1][0] = 4; matrix[1][1] = 5; matrix[1][2] = 6; matrix[2][0] = 7; matrix[2][1] = 8; matrix[2][2] = 9; System.out.println(

Java
View
generate functionThu, 03 Oct 2024

generar u vector codigo completo

ript function generarVector(n) { var vector = []; for (var i = 0; i < n; i++) { vector.push(Math.floor(Math.random() * 10)); } return vector; } function generarMatriz(n, m) { var matriz = []; for (var i = 0; i < n; i++) {

Javascript
View
generate functionThu, 03 Oct 2024

generar u vector codigo completo

ublic class Vector { private int [] vector; private int size; public Vector(int size) { this.size = size; vector = new int[size]; } public void add(int value) { if (size == vector.length) { int [] newVector = new int[size * 2]; System.arraycopy(vector, 0, new

Java
View
generate functionThu, 03 Oct 2024

generar una matriz de 3 por 3 codigo completo

ublic class Matrix { public static void main(String[] args) { int [][] matrix = new int[3][3]; matrix[0][0] = 1; matrix[0][1] = 2; matrix[0][2] = 3; matrix[1][0] = 4; matrix[1][1] = 5; matrix[1][2] = 6; matrix[2][0] = 7; matrix[2][1] = 8; matrix[2][2] = 9; System

Java
View

Questions about programming?Chat with your personal AI assistant