You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
217 B

3 years ago
package main
import (
"fmt"
"moduledemo/calc"
)
func main() {
var a, b float64
a, b = 6, 3
fmt.Println(calc.Add(a, b))
fmt.Println(calc.Sub(a, b))
fmt.Println(calc.Mult(a, b))
fmt.Println(calc.Divi(a, b))
}