42017_0_28304.cpp:3: error: `main' must return `int'
42017_0_28304.cpp: In function `int main(...)':
42017_0_28304.cpp:4: error: expected primary-expression before "int"
42017_0_28304.cpp:4: error: expected `;' before "int"
42017_0_28304.cpp:5: error: `n' undeclared (first use this function)
42017_0_28304.cpp:5: error: (Each undeclared identifier is reported only once for each function it appears in.)
42017_0_28304.cpp:5: error: `SUM' undeclared (first use this function)
42017_0_28304.cpp:5: error: expected primary-expression before '...' token
42017_0_28304.cpp:5: error: expected `;' before '...' token
|