Challenge
Your challenge is to make a simple program that takes the [input] and formats it as "Hello, [input]!"
Input
Either a function call variable or STDIN, this is the name. Can contain any character, UTF-8, and can be empty - would result in Hello,!
. Also newlines in the input are fine -
On a new
line
->
Hello, On a new
line!
Why? Because the challenge is not about if the message makes sense or not, it's about 'how quickly can you format?'.
Output
Hello, !
Example
Here would be a program in CJam:
"Hello, %s!"qae%
lolad -> Hello, lolad!
John Smith -> Hello, John Smith!
this is a
new line ->
Hello, this is a
new line!
<null> -> Hello, !
Winner
The winner is the answer with the shortest bytes, as always.