Question: Hangman, must be done in Flowgorithm as a flowchart. Draw the flowchart and write the Pseudo code for the game of Hangman, in which the
Hangman, must be done in Flowgorithm as a flowchart. Draw the flowchart and write the Pseudo code for the game of Hangman, in which the user guesses letters in a hidden word until the whole word is exposed. Enter 10 words into an array. One of those ten words will be selected at random to be used as the word for the game. Store the letters of the selected word in an array of characters. Display a dash (-) for each position of a missing letter. Allow the user to continuously guess a letter until all the letters have been guessed correctly. As the user enters each guess, display the word again filling in the guessed letter if it was correct. For example, if the hidden word is COMPUTER, first display a series of 8 dashes: - - - - - - - - . After the user guesses P, the display becomes - - - P - - - -. Make sure that all the matching letters are filled in. After the game is over, print out a message with the number of guesses it took the user to guess the word correctly.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
