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