WSQ06: Guess the number

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://www.cplusplus.com/reference/cstdlib/rand/) info about the random seed. And for the counter, I tried using a while loop, with a variable incrementing its value.

Here is the link to my code:

https://github.com/JPBarberena/Codes/blob/master/wsq06.cpp

CC BY 4.0 WSQ06: Guess the number by Juan Pablo Barberena is licensed under a Creative Commons Attribution 4.0 International License.

Comments are closed.