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