In this WSQ, we created a programm that works like a mini simple viodegame. Guess the correct number.
So, for the computer to choose a random number we use «rand()%100» = x, that will be the mysterious number. Also use srand(time(NULL)) because Ken told to use it. Something about everytime, would be a different number, or something like that. But in the class I’ll ask him again.
Also I checked various blogs from my co-students LOL.
I did something extra here. I Put inly 7 chances to guess the right number, ‘cause if you don’t, you’ll lose every talent that you think you have.
Just kiddin, you only will lose the game.
My GitHub link: