0_0_16360413_1010.cpp: In function 'int main()': 0_0_16360413_1010.cpp:16:7: error: 'i' was not declared in this scope for(i = 2;i < n; i++){ ^