Skip to content

Commit cfd4bda

Browse files
committed
update Engine.java
1 parent fb256c3 commit cfd4bda

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/src/main/java/hexlet/code/Engine.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ public static void startGame(String[][] questionAnswer, String descriptionGame)
1818
System.out.println("Correct!");
1919
counter++;
2020
} else {
21-
System.out.println("'" + userAnswer +
22-
"' is wrong answer ;(. Correct answer was '" +
23-
questionAnswer[i][1] + "'.");
21+
System.out.println("'" + userAnswer
22+
+ "' is wrong answer ;(. Correct answer was '"
23+
+ questionAnswer[i][1] + "'.");
2424
System.out.println("Let's try again, " + Cli.getName() + "!");
2525
break;
2626
}

0 commit comments

Comments
 (0)