Skip to content

Instantly share code, notes, and snippets.

@RhoKratos
Created October 20, 2017 23:08
Show Gist options
  • Save RhoKratos/6379fcad947730899cd15414aded5b8f to your computer and use it in GitHub Desktop.
Save RhoKratos/6379fcad947730899cd15414aded5b8f to your computer and use it in GitHub Desktop.
#include <stdio.h>
int main () {
int matriz[4][4]={{3,18,9,0},{20,-50,7,-1},{5,7,8,4},{-5,-20,31,18}};
int ren, col;
for(ren=0; ren<4;ren++){
for (col=0; col<4; col++){
printf("n%d", matriz[ren][col]);
if (matriz[ren][col]%4==0 && matriz[ren][col]>0 );
i++
}
printf("\n";)
}
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment