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