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