Skip to content

Commit 6e33d6a

Browse files
committed
upd EvenGame.java
1 parent be5724d commit 6e33d6a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ public static void gameLogic() {
1111
Random rand = new Random();
1212
int randNum = rand.nextInt(100);
1313
System.out.println("Question: " + randNum);
14+
System.out.print("Your answer: ");
1415
String answer = sc.next();
1516
if(randNum % 2 == 0 && answer.equals("yes")) {
1617
System.out.println("Correct! " + Engine.userName + "\n");

0 commit comments

Comments
 (0)