Documentation ¶
Overview ¶
mymath package is used to facilitate CenteredAvg function. we are using this for level 13 exercises.
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CenteredAvg ¶
CenteredAvg computes the average of a list of numbers after removing the largest and smallest values.
Example ¶
fmt.Println(CenteredAvg(slice))
Output: 49.285714285714285
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.