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