0_0_32653200_17610.cpp: In function 'int main()': 0_0_32653200_17610.cpp:30:18: error: 'i' was not declared in this scope s+=a[i][j]*c; ^