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 ad2f2ea commit 5049b8eCopy full SHA for 5049b8e
app/src/main/java/hexlet/code/App.java
@@ -2,10 +2,7 @@
2
3
import java.util.Scanner;
4
5
-import hexlet.code.games.Even;
6
-import hexlet.code.games.Calc;
7
-import hexlet.code.games.GCD;
8
-import hexlet.code.games.Progression;
+import hexlet.code.games.*;
9
10
public class App {
11
public static void main(String[] args) {
@@ -18,6 +15,7 @@ public static void main(String[] args) {
18
15
3 - Calc
19
16
4 - GCD
20
17
5 - Progression
+ 6 - Prime
21
0 - Exit""");
22
23
System.out.print("Your choice: ");
@@ -40,6 +38,9 @@ public static void main(String[] args) {
40
38
case 5:
41
39
Progression.gameProgression();
42
break;
+ case 6:
+ Prime.gamePrime();
43
+ break;
44
case 0:
45
46
default:
0 commit comments