Skip to content

NumberGuesser (number_guesser) v.2.0 #56

Description

@mvchn

Copilot instructions:

The computer must generate a random number and store it in the variable.
The user must enter a number from the keyboard and store it in the variable.

The computer must compare the two numbers and display the result on the screen.

If the user's number is greater than the computer's number, the computer must display the message "You win!"
If the user's number is less than the computer's number, the computer must display the message "You lose!"
If the user's number is equal to the computer's number, the computer must display the message "Draw!"

The computer must ask the user if he wants to play again.

If the user enters "Y" or "y", the computer must start the game again.
If the user enters "N" or "n", the computer must display the message "Goodbye!" and end the program.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions