0
Can anyone tell me how to complete the mdule 4 quiz 3rd question
int calc (int n) { int result = 0 ; for (int i=1 ; i<=n;i++){ result += i ; } ____result;
1 Resposta
+ 3
Hint:
You need to issue a `return` statement to hand the <result> over to the function caller.
Tips:
Don't hesitate to experiment with the code in Playground