Skip to content

Commit 2848b60

Browse files
committed
upd Cli.java
1 parent cf995d0 commit 2848b60

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ public static void userGreeting() {
77
Scanner sc = new Scanner(System.in);
88
String userName = sc.next();
99
System.out.println("Hello " + userName + "!");
10-
System.out.println("Welcome to the Brain Games!");
10+
System.out.println("Welcome to the Brain Games!\nMay I have your name?");
11+
System.out.println("Hello " + userName + "!");
1112
}
1213
}

0 commit comments

Comments
 (0)