Question: March 4, 2019 at 3:35 PM In C++ language. Write a program that will allow the user to guess a number chosen and the computer
March 4, 2019 at 3:35 PM In C++ language. Write a program that will allow the user to guess a number chosen and the computer will try to guess it: Program: . Ask the user to guess a whole number between 1 and 1000 e Your program will try to find the number . Keep track of the number of guesses by the computer e Use Recursive one of two search techniques: linear search or binary search or randomize guess of a number. e Use a randomized random number generator for the item to guess - Allow the computer to have only 15 guesses . Your game shall have two modes: automatic where the computer tries to guess your number without any input from you (except for the guess number) and a manual mode when using only binary search where each guess of the computer requires your input of Higher, Lower, Found
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
