I had some trouble generating a random number in the program, and also when trying to count how many guesses the user had done. For the random number, I found in this webpage (http:/
Here is the link to my code:
WSQ06: Guess the number by Juan Pablo Barberena is licensed under a Creative Commons Attribution 4.0 International License.