Averages/Arithmetic mean: Difference between revisions

Content added Content deleted
(PowerShell)
m (add wp link)
Line 1: Line 1:
{{task|Probability and statistics}}Write a program to find the mean (arithmetic average) of a numeric vector. The program should work on a zero-length vector (with an answer of 0).
{{task|Probability and statistics}}Write a program to find the [[wp:arithmetic mean|mean]] (arithmetic average) of a numeric vector. The program should work on a zero-length vector (with an answer of 0).


See also: [[Median]], [[Mode]]
See also: [[Median]], [[Mode]]