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 c25220f commit b486049Copy full SHA for b486049
src/Engine.php
@@ -76,7 +76,7 @@ function checkAnswer($count, $name, $path)
76
break;
77
//-- Игра - "Простое ли число?"
78
case "prime":
79
- line('Answer "yes" if the number is prime. Otherwise answer "no".');
+ line('Answer "yes" if given number is prime. Otherwise answer "no".');
80
$answer = prompt("Question: {$num}");
81
$expectedAnswer = isPrime($num) ? 'yes' : 'no';
82
0 commit comments