diff --git a/Java/EightDigitHelloWorld.java b/Java/EightDigitHelloWorld.java new file mode 100644 index 0000000..241c5d2 --- /dev/null +++ b/Java/EightDigitHelloWorld.java @@ -0,0 +1,19 @@ + + +public class EightDigitHelloWorld { + + private static final String firstLine = " _ _ _ _ _ "; + private static final String secondLine = "|_| |_ | | | | \\ / | | |_| | | \\ | |"; + private static final String thirdLine = "| | |_ |_ |_ |_| \\/\\/ |_| | \\ |_ |_/ o o"; + + public static void main(String args[]) { + printHelloWorld(); + } + + private static void printHelloWorld() { + System.out.println(firstLine); + System.out.println(secondLine); + System.out.println(thirdLine); + } + +} \ No newline at end of file diff --git a/kotlin/eight_digit_hello_world.kt b/kotlin/eight_digit_hello_world.kt new file mode 100644 index 0000000..495ceb2 --- /dev/null +++ b/kotlin/eight_digit_hello_world.kt @@ -0,0 +1,14 @@ + +val firstLine : String = """ _ _ _ _ _ """ +val secondLine : String = """|_| |_ | | | | \ / | | |_| | | \ | |""" +val thirdLine : String = """| | |_ |_ |_ |_| \/\/ |_| | \ |_ |_/ o o""" + +fun main(args: Array) { + printHelloWorld() +} + +fun printHelloWorld() { + println(firstLine) + println(secondLine) + println(thirdLine) +} \ No newline at end of file