package
0.0.0-20240513190655-2e7e865f817b
Repository: https://github.com/matthiasbruns/go-school.git
Documentation: pkg.go.dev

# README

Task

Write a Go program that does the following:

  • Generate a random number with rand.Intn(100)
  • Ask the user for an input

Based on the user input, print either

  • Too low
  • Too high
  • You win

Loop until the user guesses correctly

Hint

How to generate random numbers? You can figure it out by looking at the rand package documentation.

https://pkg.go.dev/math/rand

Otherwise, check the hint.md file for a hint.

# Packages

No description provided by the author