945525_0_0_3591.cpp:9: error: `n' was not declared in this scope
945525_0_0_3591.cpp:10: error: expected `,' or `;' before '{' token
945525_0_0_3591.cpp:20: error: `main' must return `int'
945525_0_0_3591.cpp: In function `int main(...)':
945525_0_0_3591.cpp:25: error: expected `)' before "n"
945525_0_0_3591.cpp:25: error: `sum' cannot be used as a function
945525_0_0_3591.cpp:28: error: expected `)' before "n"
945525_0_0_3591.cpp:28: error: `sum' cannot be used as a function
945525_0_0_3591.cpp:30: error: `i' undeclared (first use this function)
945525_0_0_3591.cpp:30: error: (Each undeclared identifier is reported only once for each function it appears in.)
945525_0_0_3591.cpp:32: error: expected `)' before "n"
945525_0_0_3591.cpp:32: error: `sum' cannot be used as a function
|