(Solved) : Assignment Re Going Write C Program Make Guessing Integer Game Beginning Game Player First Q26424428 . . .
In this assignment, you’re going to write a C++ program to makea Guessing Integer game. At the beginning of the game, the playerwill first enter (1) a minimum number (a positive integer, > 0),(2) a maximum number that is greater than the minimum and less than1,000 (ONE THOUSAND), and (3) the number of guesses that the playercan have and the number should be less than 10 (<10). Yourprogram should validate the inputs are all in the right range.These three numbers cannot be changed after the game starts.
The program then will generate a random number between theminimum and the maximum (include both ends). The player can guessthe number for several times (depending on the above input in (3)).While guessing the number, the game will give a hint to the player– either the guess is too high or too low. If the player can’tguess the number correctly within the allowed number of trials, thegame will show the answer and ask if the player wants to playagain. If the players guess the number successfully, the game willcongratulate the player and ask if the player wants tocontinue.
Please use C++ style coding as we learned in the class. Also youshould use functions (except the main function) as where it isappropriate. You may assume that only integers will be enteredthrough the keyboard.
Expert Answer
Answer to Assignment Re Going Write C Program Make Guessing Integer Game Beginning Game Player First Q26424428 . . .
OR