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 c8c1e13 commit 5c51ba4Copy full SHA for 5c51ba4
app/src/main/java/hexlet/code/App.java
@@ -37,6 +37,11 @@ public static void main(String[] args) {
37
case "6":
38
Prime.play();
39
break;
40
+ case "0":
41
+ System.out.println("Выход");
42
+ break;
43
+ default:
44
+ System.out.println("Вы ввели неверное значение");
45
}
46
scanner.close();
47
app/src/main/java/hexlet/code/Engine.java
@@ -1,7 +1,5 @@
1
package hexlet.code;
2
3
-import java.util.Scanner;
4
-
5
public class Engine {
6
7
public static int rounds = 3;
0 commit comments