Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created October 29, 2019 02:29
Show Gist options
  • 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