0_0_1382809_23802.cpp: In function `int main()': 0_0_1382809_23802.cpp:16: error: `k' undeclared (first use this function) 0_0_1382809_23802.cpp:16: error: (Each undeclared identifier is reported only once for each function it appears in.)