0_0_31868681_11027.cpp: In function 'int main()': 0_0_31868681_11027.cpp:13:6: error: 'i' was not declared in this scope for(i=1;i<=n;i++) ^