Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions Java/EightDigitHelloWorld.java
Original file line number Diff line number Diff line change
@@ -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);
}

}
14 changes: 14 additions & 0 deletions kotlin/eight_digit_hello_world.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@

val firstLine : String = """ _ _ _ _ _ """
val secondLine : String = """|_| |_ | | | | \ / | | |_| | | \ | |"""
val thirdLine : String = """| | |_ |_ |_ |_| \/\/ |_| | \ |_ |_/ o o"""

fun main(args: Array<String>) {
printHelloWorld()
}

fun printHelloWorld() {
println(firstLine)
println(secondLine)
println(thirdLine)
}