0_0_2046231_26355.cpp:3: error: `main' must return `int'
0_0_2046231_26355.cpp: In function `double res(int)':
0_0_2046231_26355.cpp:22: error: `fac' undeclared (first use this function)
0_0_2046231_26355.cpp:22: error: (Each undeclared identifier is reported only once for each function it appears in.)
0_0_2046231_26355.cpp: In function `long int fac(int)':
0_0_2046231_26355.cpp:28: error: `long int fac(int)' used prior to declaration
|