Trying to code a Hangman Console Game. But my loop is not stopping when two words are equal. Below is my code. The secret word is "hello". Outcome is under code.


import java.util.Scanner; ...