Skip to content

Commit 5049b8e

Browse files
author
Aleksandr Pronichev
committed
update App.java
1 parent ad2f2ea commit 5049b8e

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

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

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,7 @@
22

33
import java.util.Scanner;
44

5-
import hexlet.code.games.Even;
6-
import hexlet.code.games.Calc;
7-
import hexlet.code.games.GCD;
8-
import hexlet.code.games.Progression;
5+
import hexlet.code.games.*;
96

107
public class App {
118
public static void main(String[] args) {
@@ -18,6 +15,7 @@ public static void main(String[] args) {
1815
3 - Calc
1916
4 - GCD
2017
5 - Progression
18+
6 - Prime
2119
0 - Exit""");
2220

2321
System.out.print("Your choice: ");
@@ -40,6 +38,9 @@ public static void main(String[] args) {
4038
case 5:
4139
Progression.gameProgression();
4240
break;
41+
case 6:
42+
Prime.gamePrime();
43+
break;
4344
case 0:
4445
break;
4546
default:

0 commit comments

Comments
 (0)