diff --git a/HelloWorld/hello_world.java b/HelloWorld/hello_world.java new file mode 100644 index 00000000..7afaee0e --- /dev/null +++ b/HelloWorld/hello_world.java @@ -0,0 +1,17 @@ +// by Conny Heb -- https://github.com/ConnyHeb + +import java.util.Scanner; + +public class hello_world { + + public static void main(String[] args) { + + Scanner scan = new Scanner(System.in); + System.out.println("Enter your name: "); + String name = scan.next(); + System.out.println("Hello " + name + "!"); + + } + + +}