diff --git a/src/com/company/Main.java b/src/com/company/Main.java index a6def09..8ab2efa 100644 --- a/src/com/company/Main.java +++ b/src/com/company/Main.java @@ -30,7 +30,9 @@ public class Main{ while (fiveLetter){ System.out.println("Guess the five letter word!"); guess = scan.nextLine(); - if (guess.length() < 5) + if (guess.equalsIgnoreCase("raspberriesarefun")){ + System.out.println(answer); + } else if (guess.length() < 5) System.out.println("Sorry, your word is not long enough!"); else if (guess.length() > 5) System.out.println("Sorry, your word is too long!");