2
1
Fork 0
pr3-ws202526/go/01-basics/02-constants.go

21 lines
235 B
Go

package main
import (
"fmt"
"math"
)
const s string = "constant"
func main() {
fmt.Println(s)
const n = 500000000
const d = 3e20 / n
fmt.Println(d)
fmt.Println(int64(d))
fmt.Println(math.Sin(n))
}