mirror of https://github.com/01-edu/public.git
Update README.md
This commit is contained in:
parent
e5914c14bc
commit
6a53d215e6
|
@ -1,5 +1,7 @@
|
|||
### rev-arg
|
||||
|
||||
### Instructions
|
||||
|
||||
Write a program that takes the command line arguments and prints them in reverse order.
|
||||
- if the number of arguments is less than 1, print (`'\n'`)
|
||||
|
||||
|
@ -14,4 +16,4 @@ $ go run . "Hello World!" "World!" "All" | cat -e
|
|||
All World! Hello World!$
|
||||
$ go run . 1 2 3 4 | cat -e
|
||||
4 3 2 1$
|
||||
```
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue