int f (int n) { int ans = 0; for (int i = 1; i < n; i++) { if (i < n/2) { ans -= i; } else { ans += i; } } return ans; }
What does f(5) evaluate to?
Answers
Answered by
9
Answer:
Explanation:
Isdont know this answer
Sorry.....
Similar questions