Question: 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

 Develop the following game using CH coding. The rules of the

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. iii. 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!