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 cf995d0 commit 2848b60Copy full SHA for 2848b60
app/src/main/java/hexlet/code/Cli.java
@@ -7,6 +7,7 @@ public static void userGreeting() {
7
Scanner sc = new Scanner(System.in);
8
String userName = sc.next();
9
System.out.println("Hello " + userName + "!");
10
- System.out.println("Welcome to the Brain Games!");
+ System.out.println("Welcome to the Brain Games!\nMay I have your name?");
11
+ System.out.println("Hello " + userName + "!");
12
}
13
0 commit comments