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 7141e62 commit 413fbb1Copy full SHA for 413fbb1
app/src/main/java/hexlet/code/games/Prime.java
@@ -13,7 +13,7 @@ public static void play() {
13
14
for (int i = 1; i <= Engine.rounds; i++) {
15
int num = (int) (Math.random() * 100) + 1;
16
- String rightAnswer = Prime(num);
+ String rightAnswer = logicPrime(num);
17
18
System.out.println(Engine.answerText + num);
19
System.out.print(Engine.answerText);
@@ -31,7 +31,7 @@ public static void play() {
31
}
32
33
34
- public static String Prime(int num) {
+ public static String logicPrime(int num) {
35
if (num < 2) {
36
return "no";
37
0 commit comments