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