Question: 0 Lab4- ITTO Exercise 2: Word game Create a new program, WordQuessingGame. Using a while loop, create a game for the user. The game requires
0 Lab4- ITTO Exercise 2: Word game Create a new program, WordQuessingGame. Using a while loop, create a game for the user. The game requires the user to guess a secret word. The game does not end untl the user guesses the word. Ater they win the game, they are prompted to choose to play again. The secret word that user must guess is valentine. It is a case-sensitive analysis If the guess does not have an equal number ofcharacters, tel te user if it is too long or too short If the guess has the same number of characters, tell the user how many characters are correct Welcome to the word guessing gane Guesa a word: borp The word is longer Incorrect. Guess againi turtle The word is longer Gueas againi cowabangazzzz The word is shorter Incorreet. Guess againi Valenbine You have7 letters correct Incorrect. Guess agains VALENTINE Tou winl Would 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
