i need help,our teacher give us a problem on how to design the logic for the hangman game.which the user guesses letters in a hidden word.Store the letters of a word in an array of characters.display of each missing letter.allow the user to continuously guess until all the letters in the word are guessed correctly.As the user enters each guess,display the word again,filling in the guess if it was correct.for example:if the word is happy .the first to display is "_ _ _ _ _".after the user guesses p,the display becomes "_ _ p p _"...tnk you