a := big.NewRat(1, 3) b := big.NewRat(2, 3) c := new(big.Rat).Add(a, b) fmt.Println(c)
a := big.NewRat(1, 3) b := big.NewRat(2, 3) c := new(big.Rat).Mul(a, b) fmt.Println(c)This code creates two rational numbers, 1/3 and 2/3, and multiplies them together to get the result of 2/9. It then prints out the resulting fraction using the `fmt.Println` function. Package library: "math/big"