Browse Source

feat: Add Subject

1148-concat-2-arguments
zainabdnaya 2 years ago
parent
commit
d76739cbf1
  1. 20
      subjects/concat2argument/README.md

20
subjects/concat2argument/README.md

@ -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…
Cancel
Save