add.go 138 B

12345678910
  1. package simplemath
  2. import "math"
  3. func Add(a int, b int) int {
  4. return a + b
  5. }
  6. func Sqrt(num float64) float64 {
  7. return math.Sqrt(num)
  8. }