Question: 04 Develop the following game using CH coding. The rules of the game are: i. In the beginning computer proposes number in range 1 to

04 Develop the following game using CH coding. The rules of the game are: i. In the beginning computer proposes number in range 1 to 1000 (generate a random number) and keep secret. ii. Computer will ask a player to guess it. 11. At every step of the game, player tells to the computer his assumption about a number and computer tells, if player guessed it right. iv. Otherwise, computer tells the player if his number is less or more than the proposed number and player tries again. (20 marks)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
