0_0_22841866_16634.cpp: In function 'int main()': 0_0_22841866_16634.cpp:29:29: error: expected ';' before 'endl' cout << 2 * k << " " << k endl; ^