Number Guessing Game Part 6

Exercise: Number Guessing Game, Part 6

Now change your game to keep track of how many guesses it takes before the player guesses the right number.


        • You will need to make another variable called “number of guesses” (or a similar name).
        • Each time the player makes a guess you want to change the variable “number of guesses” by 1. How can you do this?