Question: should be done in Java, that is what i have so far, but it is not working What are the steps? Task 1: Hangman (50

 should be done in Java, that is what i have so
should be done in Java, that is what i have so far, but it is not working far, but it is not working What are the steps? Task 1:

What are the steps? Task 1: Hangman (50 pts) Project Name: Lab_4_Hangman_your_name Design Specifications Using a char array, loops, and if statements design a program that plays a game of hangman using the predetermined words "data structures" that the player will guess (reference in class example). In each round of the game your program should: 1) Display which round of the game we're on 2) Display the correctly guessed letters and/or underscores to indicate letters yet to be guessed 3) Prompt for a new letter (Note: space characters do not need to be guessed) 4) Determine if there are any matches, and announce how many 5) Detect if the game is complete, if so announce this condition and end the program, else proceed to next round public class Lab4 Hangman Lawrence **5 Oparam args the command line arguments public static void main(String[] args) W TODO code application logie here Scanner reader = new Scanner(System.in); charll answerArray('d', chall guesseaArray ( char unerGuess ro): int round - 1: boolean hasWon - talne: I while(hasWon) System.out.format("Round d ", round++); System.out.println (Arrays.tostring guessesArray)): Syatem.out.println("Enter letter to guest": unerGuess - Teader.next().charAt(0) 0 1 13 44 45 46 for (int 1-0 1 answerArray.Length: 1++) 1 (userGuess anaverArray[i]) guesesArray (11 answerArray[i]: 3 for (int 307 3quessesArray.Length 3++){ 1 (que serray- Il guessearray(31) 50 51 han on true!) elne 54 35 hanwonalne 57 Syatem.out.printintraculation you and all the word

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!