forked from root/public
Compare commits
3 Commits
master
...
1271-conca
Author | SHA1 | Date |
---|---|---|
estlop | d23c9f2e8c | 2 years ago |
estlop | 8c81a19f44 | 2 years ago |
estlop | 2369f2c82a | 2 years ago |
1 changed files with 18 additions and 0 deletions
@ -0,0 +1,18 @@
|
||||
## concatenate |
||||
|
||||
### Instructions |
||||
|
||||
Write a program that displays all the arguments as a single string by simply putting one after each other. If there are not enough arguments it should display a new line. |
||||
|
||||
### Usage |
||||
|
||||
```console |
||||
$ go run . hello there chris | cat -e |
||||
hellotherechris$ |
||||
$ go run . a b c d | cat -e |
||||
abcd$ |
||||
$ go run . "hello there" "how are you?" |
||||
hello therehow are you?$ |
||||
$ go run . "hello there" " " | cat -e |
||||
hello there $ |
||||
``` |
Loading…
Reference in new issue