(Please answer in C++ )
This approach is similar to Task 2B. The only difference is,
the computer will generate a random integer in the range as a
guess.
In this strategy, a guess is a random int in a given range.
Hence, for the same range and same answer, the number of guesses
will be different. For example, suppose the range is in [0, 10] and
the answer is 7. These are possible outputs.
The following running takes 8...