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