Skip to content

Commit 6372920

Browse files
committed
upd Calc.java
1 parent 5508e36 commit 6372920

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public static void gameLogic() {
1515
int randMathSymbol = randNum.nextInt(3);
1616
int num1 = randNum.nextInt(100);
1717
int num2 = randNum.nextInt(100);
18-
System.out.println("Question: " + num1 + mathSymbols[randMathSymbol] + num2);
18+
System.out.println("Question: " + num1 + " " + mathSymbols[randMathSymbol] + " " + num2);
1919
result = switch (mathSymbols[randMathSymbol]) {
2020
case '+' -> num1 + num2;
2121
case '-' -> num1 - num2;

0 commit comments

Comments
 (0)