We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a61b55d commit 0a347fbCopy full SHA for 0a347fb
1 file changed
datatypes/datatypes-exercises/src/main/java/org/launchcode/InputOutput.java
@@ -0,0 +1,12 @@
1
+package org.launchcode;
2
+
3
+import java.util.Scanner;
4
5
+public class InputOutput {
6
+ public static void main (String[] args) {
7
+ Scanner input = new Scanner(System.in);
8
+ System.out.println("Hello, what is your name?");
9
+ String name = input.nextLine();
10
+ System.out.println("Hello " + name);
11
+ }
12
+}
0 commit comments