Language: C++ Write a program that stores an array of words (containing "computer","television", "keyboard", "laptop", "mouse") and 12 other words of your choice in an array of strings. Inside of a...


Please write with simple codes


Language: C++<br>Write a program that stores an array of words (containing

Extracted text: Language: C++ Write a program that stores an array of words (containing "computer","television", "keyboard", "laptop", "mouse") and 12 other words of your choice in an array of strings. Inside of a game loop your program should randomly choose one word out of the 17 possible words. The program should print the word on the screen after replacing all vowels by under- scores, then the player should try to guess the word. After the player has guessed the right word, the number of tries should be printed on the screen and the player should be asked whether he/she wishes to play again. If the player enters "quit" as a word guess, then the game should immediately stop. You can assume that the input will be valid and that "quit" will not be in the set of words to be guessed.

Jun 05, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions ยป

Submit New Assignment

Copy and Paste Your Assignment Here