0

How to calculate mean in an array?

23rd Jan 2020, 6:22 PM
Avery Chan
Avery Chan - avatar
5 Antworten
+ 3
Calculate the sum of all elements, and divide by the count of elements (=length of array).
23rd Jan 2020, 8:38 PM
Tibor Santa
Tibor Santa - avatar
+ 1
Simply what Tibor Santa said.
23rd Jan 2020, 11:22 PM
Sonic
Sonic - avatar
0
blackwinter do i need to create a new block?
23rd Jan 2020, 6:26 PM
Avery Chan
Avery Chan - avatar
0
So you want the average of integers that are in an array?
23rd Jan 2020, 8:18 PM
Sajid
Sajid - avatar
0
sajid chowdhury average of double that are in an array
24th Jan 2020, 4:52 AM
Avery Chan
Avery Chan - avatar