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