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