Resta de Matrices

public int[][] resta(int filas,int columnas,int[][] matrizUno,int[][] matrizDos) { for(int x=0;x<filas;x++) { for(int y=0;y<columnas;y++) { matrizNueva2[x][y]=matrizUno[x][y]-matrizDos[x][y]; } }return matrizNueva2; }

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.