mirror of https://github.com/01-edu/public.git
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.
22 lines
329 B
22 lines
329 B
6 years ago
|
## sortparams
|
||
6 years ago
|
|
||
6 years ago
|
### Instructions
|
||
6 years ago
|
|
||
|
Write a **program** that prints the arguments received in the command line in ASCII order.
|
||
|
|
||
|
Example of output :
|
||
|
|
||
|
```console
|
||
5 years ago
|
student@ubuntu:~/[[ROOT]]/sortparams$ go build
|
||
|
student@ubuntu:~/[[ROOT]]/sortparams$ ./sortparams 1 a 2 A 3 b 4 C
|
||
6 years ago
|
1
|
||
|
2
|
||
|
3
|
||
|
4
|
||
|
A
|
||
|
C
|
||
|
a
|
||
|
b
|
||
5 years ago
|
student@ubuntu:~/[[ROOT]]/sortparams$
|
||
6 years ago
|
```
|