0_0_18816211_21497.cpp: In function 'int main()': 0_0_18816211_21497.cpp:33:13: error: 'i' was not declared in this scope for(i=2;i<=n;i++) { ^