+ 3

Longest Hello World

I'm trying to get the “Hello world” output in the longest way. Do you have any suggestions? https://code.sololearn.com/cA22a9a3A8A5/?ref=app

26th Apr 2021, 6:46 PM
Arda Gurses
Arda Gurses - avatar
5 odpowiedzi
+ 3
Wow! explain what your program does? why is it so difficult?
26th Apr 2021, 6:53 PM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
+ 3
Generate a random number between 65 to 91, convert it into char... Do this until a five letter word is formed. If the 5 letter word is 'hello' then do the same process for 'world'... Else.. repeat the procedure for 'hello'. Combine both the words to print 'HELLO WORLD!'. (You can further complicate it such the the first letter should be capital and rest in small,etc.)
28th Apr 2021, 1:35 AM
Ansh Jaiswal
+ 2
I wondered how do we do this simple command in the most complicated way
26th Apr 2021, 6:57 PM
Arda Gurses
Arda Gurses - avatar
+ 2
😆 you are not looking for easy ways!
26th Apr 2021, 7:00 PM
Yaroslav Vernigora
Yaroslav Vernigora - avatar