How would get find an average from an array?

If I have the array:

[0,4,8,2,5,0,2,6]

Averaging would give me 3.375.

24 Answers
24

Leave a Reply

Your email address will not be published. Required fields are marked *