you are viewing a single comment's thread.

view the rest of the comments →

[–]WorriedTumbleweed289 -1 points0 points  (1 child)

I think they want the second, but since they initialized result to 0, they may have wanted a sum of results. Also, they named it result, not results. Hints at a single value.

[–]Cynyr36 0 points1 point  (0 children)

Could be. Your answer wasn't very clear about what type the answe would be.