public int[][] suma(int filas,int columnas,int[][] matrizUno,int[][] matrizDos)
{
for(int x=0;x<filas;x++)
{
for(int y=0;y<columnas;y++)
{
matrizNueva1[x][y]=matrizUno[x][y]+matrizDos[x][y];
}
}return matrizNueva1;
}
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.