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