+ 8

Can you make the Hello, World Program difficult?

Just want to see how hard can it get to print a simple "Hello, World"... Share all your extreme creations!

6th Apr 2017, 3:38 PM
Solo Wanderer 4315
Solo Wanderer 4315 - avatar
5 Answers
+ 13
public class Helloing { public static void main(String[] args) { String hello; hello = "Hello World"; if(hello.length()==10) { System.out.print("Hello moto"); } else if(hello.length()==5) { System.out.print("\nHello Solo"); } else { System.out.print("Hello World"); } } }
6th Apr 2017, 3:50 PM
Dev
Dev - avatar
+ 9
"Never miss a chance to show off" 😎 https://code.sololearn.com/cevCloev897h/?ref=app
6th Apr 2017, 5:05 PM
Kuba Siekierzyński
Kuba Siekierzyński - avatar
+ 6
Please feel free to use any esoteric programming language...
6th Apr 2017, 3:40 PM
Solo Wanderer 4315
Solo Wanderer 4315 - avatar
+ 4
In COBOL 000100 IDENTIFICATION DIVISION. 000200 PROGRAM-ID. HELLOWORLD. 000300 000400* 000500 ENVIRONMENT DIVISION. 000600 CONFIGURATION SECTION. 000700 SOURCE-COMPUTER. RM-COBOL. 000800 OBJECT-COMPUTER. RM-COBOL. 000900 001000 DATA DIVISION. 001100 FILE SECTION. 001200 100000 PROCEDURE DIVISION. 100100 100200 MAIN-LOGIC SECTION. 100300 BEGIN. 100400 DISPLAY " " LINE 1 POSITION 1 ERASE EOS. 100500 DISPLAY "Hello world!" LINE 15 POSITION 10. 100600 STOP RUN. 100700 MAIN-LOGIC-EXIT. 100800 EXIT.
6th Apr 2017, 3:54 PM
देवेंद्र महाजन (Devender)
देवेंद्र महाजन (Devender) - avatar
6th Apr 2017, 5:30 PM
Krishna Teja Yeluripati
Krishna Teja Yeluripati - avatar