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