We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c51ba4 commit 7141e62Copy full SHA for 7141e62
app/src/main/java/hexlet/code/games/Calc.java
@@ -28,6 +28,9 @@ public static void play() {
28
case '*':
29
rightAnswer = firstValue * secondValue;
30
break;
31
+ default:
32
+ System.out.println("Неизвестный оператор: " + randomSign);
33
+ break;
34
}
35
36
System.out.println(Engine.questionText + firstValue + " " + randomSign + " " + secondValue);
0 commit comments