modal average code example
Example 1: what is mode
The mode of a set of data values is the value that appears most often.
Example 2: what is a median
Median of a triange is a line that goes from a vertex of the triangle
to the midpoint of the opposite side of that vertex.