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