// Homework 15, challenge: BMI. // // Prompt for height in metres and weight in kg, and convert each with // strconv.ParseFloat. Compute: // bmi := weight / (height * height) // Print the result with one decimal place, using %.1f. // // You need more packages. Change the import line to: // import ( // "bufio" // "fmt" // "os" // "strconv" // "strings" // ) // // Run with: go run exercises/15/homework/04-bmi.go package main import "fmt" func main() { // TODO: write your code here, in place of this placeholder line: fmt.Println("TODO: replace this line") }