Question: Write a C++ program to play the following guessing game. the computer generates a random integer number in range 0 - 100 (inclusive) and ask
Write a C++ program to play the following guessing game. the computer generates a random integer number in range 0 - 100 (inclusive) and ask two players for their guesses. The player whose guess is closer to the number generated by the computer wins. Your program should allow users to play a series of games in a best of seven formats.
Write a separate function to get players' guesses (one function to get both guesses) and a separate function that checks which player won a single game.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
