Average Mean Algorithm

For all positive data sets containing at least one pair of unequal values, the harmonic mean is always the least of the three means, while the arithmetical mean is always the greatest of the three and the geometric mean is always in between (see inequality of arithmetical and geometric means.)In mathematics, the geometric mean is a average or average, which indicates the central tendency or typical value of a set of numbers by use the merchandise of their values (as opposed to the arithmetical mean which uses their sum).

Average Mean source code, pseudocode and analysis