This is a part of my code

for(int i=0; i<3; i++){ for(int j=0; j<4; j++){ if(A[i][j]%2==0){ n++; } if(n==3){ p3=A[i][j]; ip3=i; jp3=j; } if(n==5){ p5=A[i][j]; ip5=i; jp5=j; } }

`And this is the result:`

Compilation failed due to following error(s).main.c: In function ‘main’: main.c:20:22: error: invalid operands to binary % (have ‘float’ and ‘int’) if(A[i][j]%2==0){ ~~~~~~~^