// Homework 13, problem 2: Floor and ceil. // // Print x as it is, then math.Floor(x), then math.Ceil(x), each on its // own line. Then add one comment line explaining how floor and ceil // differ. // // You need the math package. Change the import line to: // import ( // "fmt" // "math" // ) // // Run with: go run exercises/13/homework/02-floor-and-ceil.go package main import "fmt" func main() { x := 3.7 // TODO: write your code here, in place of this placeholder line: fmt.Println("TODO: replace this line", x) }