0_0_36048774_20519.cpp: In function 'int main()': 0_0_36048774_20519.cpp:9:7: error: 'i' was not declared in this scope for(i=1;i<=n;i++){ ^