87320_0_17589.cpp: In function `int main()': 87320_0_17589.cpp:112: error: `result' undeclared (first use this function) 87320_0_17589.cpp:112: error: (Each undeclared identifier is reported only once for each function it appears in.)