Skip to content

Latest commit

 

History

History
7 lines (7 loc) · 318 Bytes

File metadata and controls

7 lines (7 loc) · 318 Bytes

Number-Guessing

Approach: The following steps can be followed to design the game: 1.Generate a random number between 0 and N. 2.Then iterate from 1 to 10 and check if the input number is equal to the assumed number or not. 3.If yes, then the player wins the game. 4.Otherwise, terminate the game after 12 attempts.