Exercises & activities from the go workshop provided by Packt: https://courses.packtpub.com/courses/go
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.
 

19 lines
254 B

package main
import "fmt"
func main() {
var a int = 100
var b float32 = 100
var c float64 = 100
fmt.Println(a / 3)
fmt.Println(b / 3)
fmt.Println(c / 3)
fmt.Println((a / 3) * 3)
fmt.Println((b / 3) * 3)
fmt.Println((c / 3) * 3)
}