Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created October 29, 2019 02:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/93ee5c7af7327f692201fb4f59dc914d to your computer and use it in GitHub Desktop.
Save parzibyte/93ee5c7af7327f692201fb4f59dc914d to your computer and use it in GitHub Desktop.
// Recorrer la matriz y sumar
for (int y = 0; y < ALTURA; y++) {
for (int x = 0; x < ANCHURA; x++) {
int elementoActual = matriz[y][x];
sumatoria = sumatoria + elementoActual;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment