0_0_16383858_20421.cpp: In function 'int main()': 0_0_16383858_20421.cpp:30:7: error: 'i' was not declared in this scope for(i=0;i<n;i++) ^ 0_0_16383858_20421.cpp:35:7: error: 'i' was not declared in this scope for(i=0;i<n;i++) ^