Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 809 Bytes

README.md

File metadata and controls

25 lines (16 loc) · 809 Bytes

Number guesser 🎈

The computer thinks of a number and you try to guess it.

The program gives you feedback on whether you guessed a higher or lower number.

Available scripts:

  • dotnet run
  • dotnet build
  • dotnet restore

Explanation:

  1. Random Number Generation: A Random object is used to generate a random number between 1 and 100.
  2. User Guess: The user's guess is read from the console.
  3. Feedback: The program provides feedback on whether the guess is too high or too low.
  4. Loop: The program continues looping until the user guesses the correct number.
  5. Attempt Counting: The program counts the number of attempts the user makes to guess the number.

License:

  • This project is licensed under MIT.

For more information please visit the license files.