I recieved an error when executing the following code, where is the error?
int I= 0;
int J= 0;
int M[10][10];
while (I<10) {
J= 1;
while (J<10) {
if (((M[I][J] % 2)==1) and (M[I][J]= M[I][J] * 2))
J= J+2;
}
I= I+1;
}