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 code-golf, shortest byte count wins!
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.087Just wanted to say: Batch, 39 Bytes.
@set/pm=&&echo Hello, World!
\n@echo %m%
– cascading-style – 2016-12-16T23:48:45.683