Hello World!++ (Hello World with input)

0

ltl, ftp

Prelude

I'm pretty sure you've seen a ton of Hello World challenges before...
So I've created this simple twist...

Challenge

Golf me a simple program that:

  • Takes any amount of ASCII characters for input (input can be null).
  • Displays "Hello World!".
  • On another line dumps the characters to screen.

For example:
Input:

I love cats!

Output:

Hello World!
I love cats!

Rules:

This is , shortest byte count wins!

n4melyh4xor

Posted 2016-12-15T22:32:55.897

Reputation: 507

Question was closed 2016-12-15T22:35:05.423

2I don't think this is sufficiently different from the Hello world challenge. It's pretty much a duplicate of that one mixed with the cat challenge – James – 2016-12-15T22:35:46.150

@DJMcMayhem : It could be similiar, but it's got it's own twist (and twists were allowed before). – n4melyh4xor – 2016-12-15T22:38:33.960

3I personally would close this as a dupe of "emulate the cat command", but this works too. – Rɪᴋᴇʀ – 2016-12-15T22:45:21.697

I will try to explain a little better. Both the primary challenge, as well as the added twist, are duplicates of existing challenges. Unless you combine the two challenges in a non-trivial way, the resulting combination challenge is still a duplicate.

– Rainbolt – 2016-12-16T17:03:32.087

Just wanted to say: Batch, 39 Bytes. @set/pm=&&echo Hello, World!\n @echo %m% – cascading-style – 2016-12-16T23:48:45.683

No answers