// Homework 16, problem 2: Level gate. // // Given the two variables below, print the correct one of: // You can enter the dungeon. if level >= 10 and hasKey // Level too low. if only the level is too low // Missing the key. if only the key is missing // Level too low and missing the key. if both // // Run with: go run exercises/16/homework/02-level-gate.go package main import "fmt" func main() { level := 12 hasKey := true // TODO: write your code here, in place of this placeholder line: fmt.Println("TODO: replace this line", level, hasKey) }