get-programming-with-go/malacandra.go
2018-10-30 08:11:47 -04:00

9 lines
154 B
Go

package main
import "fmt"
func main() {
const dist = 56000000
fmt.Printf("You'd reach Malacandra in 28 days if you travelled %v km/h", dist/28/24)
}