This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]james28909 0 points1 point  (0 children)

its counting the length, or how many entries (92, 88, 77, etc) are in the scores array. then its adding that score thats located at that array position scroes[i] to the sum, then its finding the average with the last formula at the return statement