Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 567 Bytes

README.md

File metadata and controls

18 lines (11 loc) · 567 Bytes

guessNumberGame

-- Guess The Number Game --

This is a simple console game that generates a random number and let the user guess it, the interval of the "secret" number is [0,10].

After each game, the program displays in the console the number of tries before finding the right value and a history of the attempts.

The notions used in this code are the following : vector, loop, if statement, switch case, rand() functions.

Language used : C++

image