Question: Write program for this using C++ code Create a new program, WordGuessingGame Using a while loop, create a game for the user The game roquires
Create a new program, WordGuessingGame Using a while loop, create a game for the user The game roquires the user to guess a secret word The game does not end untli the word After they win the game,they are prompted to choose to play again The secret word that user must gues is valentine Iitis a case sensitive analyss With each guess lfthe guess does not have an equal number of characters, tell the user nbloo long or too short user guesses th I the guess has the same number of characters, tell the user how many characters are corret The letter must be in the same position to be considered correct Welcome to the word guessing game Guess a word: borg The word is longer Incorrect. Guess agein: turtle The word is longer Incorrect. Guess againt cowabungazzzz The word is shorter Incorrect. Guess again: Xalenbine You have 7 letters correct Incorrect. Guess agains VALENTINE You have letters correct Incorrect. Guess again: enitnelav You have 1 letters correct Incorrect. Guess againt valentine You win Mould you like to play again? (y):n
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
