0_0_20458904_17690.cpp: In function 'int main()': 0_0_20458904_17690.cpp:24:8: error: 'j' was not declared in this scope for(j = 0; j <= n; ++j) ^