0
\$\begingroup\$

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!

\$\endgroup\$
5
  • 2
    \$\begingroup\$ I 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 \$\endgroup\$
    – DJMcMayhem
    Dec 15, 2016 at 22:35
  • \$\begingroup\$ @DJMcMayhem : It could be similiar, but it's got it's own twist (and twists were allowed before). \$\endgroup\$ Dec 15, 2016 at 22:38
  • 3
    \$\begingroup\$ I personally would close this as a dupe of "emulate the cat command", but this works too. \$\endgroup\$
    – Riker
    Dec 15, 2016 at 22:45
  • \$\begingroup\$ 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. \$\endgroup\$
    – Rainbolt
    Dec 16, 2016 at 17:03
  • \$\begingroup\$ Just wanted to say: Batch, 39 Bytes. @set/pm=&&echo Hello, World!\n @echo %m% \$\endgroup\$ Dec 16, 2016 at 23:48

0

Browse other questions tagged or ask your own question.