0_0_29666603_3556.cpp: In function 'int main()': 0_0_29666603_3556.cpp:8:6: error: 'i' was not declared in this scope for(i=1;i<n;i++){ ^ 0_0_29666603_3556.cpp:13:1: error: expected ';' before '}' token } ^