WSQ06 – Pick a number

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.

Captura de pantalla 2016-02-16 a las 0.45.04I 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:
https://github.com/antonioangelm24/TC101/blob/master/WSQ06

 

CC BY-SA 4.0 WSQ06 – Pick a number by antonioangelm is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.