0_0_13680098_15892.cpp: In function 'int prim()': 0_0_13680098_15892.cpp:17:6: error: 'i' was not declared in this scope for(i = 1; i <= M-1; i++) ^ 0_0_13680098_15892.cpp:32:7: error: 'j' was not declared in this scope for(j = 1; j <= M; j++) ^