forked from root/public
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
425 B
425 B
Concat2Argument
Instructions
Write a program that concatenates two arguments and prints the result:
- If the number of arguments is not 2, print (
'\n'
). - don't concatenate the two arguments with space.
Usage
$ go run . | cat -e
$
$ go run . "Hello" "World!" | cat -e
HelloWorld!$
$ go run . " student " talented | cat -e
student talented$
$ go run . "Hello" "student" talented ! | cat -e
$