Design the logic for the game hangman in which the user


Design the logic for the game Hangman, in which the user guesses letters in a hidden word. Store the letters of a word in an array. Display a dash for each missing letter. Allow the user to guess letters continuously until all the letters in the word are correctly guessed. As the user enters each guess, display the word again, filling in the guess if it was correct. For example, if the hidden word
is "computer", first display --------. After the user guesses "p", the display becomes ---p----. Make sure that when a user makes a correct guess, all the matching letters are filled in. For example, if the word is "banana", then when the user guesses "a", all three "a" characters are filled in.

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Design the logic for the game hangman in which the user
Reference No:- TGS01474445

Expected delivery within 24 Hours