diff --git a/main.go b/main.go index 7182c0e..3ad0e03 100644 --- a/main.go +++ b/main.go @@ -1,11 +1,14 @@ package main import ( + "fmt" "math/rand" "os" ) func main() { - random := rand.Intn(100) + max := 100 + fmt.Printf("I've picked a number between 0 and %d. Can you guess it?\n", max) + random := rand.Intn(max) LoopUntilFound(os.Stdout, os.Stdin, random) }