0_0_29713437_21615.cpp: In function 'int main()': 0_0_29713437_21615.cpp:6:8: error: 'k' was not declared in this scope if(k != 1 )cout<<endl; ^