forked from root/public
zainabdnaya
2 years ago
1 changed files with 20 additions and 0 deletions
@ -0,0 +1,20 @@
|
||||
## 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 |
||||
|
||||
```console |
||||
$ go run . | cat -e |
||||
$ |
||||
$ go run . "Hello" " World!" | cat -e |
||||
HelloWorld!$ |
||||
$ go run . " student" talented | cat -e |
||||
talented student$ |
||||
$ go run . "Hello" "student" talented ! | cat -e |
||||
$ |
||||
``` |
Loading…
Reference in new issue