how do i program a guessing game?
Hye guys am new to programming. i rely need to noe how do i code the following requirements:
- Each digit of the number cannot be repeated
- The first digit can start with 0
- If the number entered by the user has repeating digits, the user has to be asked to re-enter a new number
- Each attempt of guessing need to be numbered
- The user will be told how many digits correctly positioned and how many digits wrongly positioned after each guess
- The user will be congratulated if the user successfully guessed the number.
- The user will be asked whether to replay or not at the end of the game
Plz help me :)