0_0_34787390_3635.cpp: In function 'int main()': 0_0_34787390_3635.cpp:27:13: error: expected ';' before 'if' if(i!=n)cout<<" "; ^