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