func main() { numberSlice := []int{5, 10, 15} avgOfNumbers := math.Average(numberSlice) fmt.Println(avgOfNumbers) }
func main() { myNumberCast := float64(36) sqrtOfNumber := math.Sqrt(myNumberCast) numberSlice := []int{5, 10, 15} avgOfNumbers := m.Average(numberSlice) fmt.Println(sqrtOfNumber) fmt.Println(avgOfNumbers) }