(Solved) : Change Guessing Program Allow Three Guessing Attempts Program Work Like Following Guess Nu Q37287775 . . .
please hep me code this is C++
Change the guessing program to allow no more than three guessing attempts. The program should work like following: Guess a number between 1 and 10: 5 The number is higher than this: 10 The number is lower than this: 6 The number is higher than this. You have lost. Wanna play again (y/n)? y Guess a number between 1 and 10: 3 The number is lower than this: 1 The number is higher than this: 2 Congratulations! Wanna play again (y/n)? y Te hore tot Show transcribed image text Change the guessing program to allow no more than three guessing attempts. The program should work like following: Guess a number between 1 and 10: 5 The number is higher than this: 10 The number is lower than this: 6 The number is higher than this. You have lost. Wanna play again (y/n)? y Guess a number between 1 and 10: 3 The number is lower than this: 1 The number is higher than this: 2 Congratulations! Wanna play again (y/n)? y Te hore tot
Expert Answer
Answer to Change the guessing program to allow no more than three guessing attempts. The program should work like following: Guess…
OR