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
306 B
22 lines
306 B
5 years ago
|
# sortparams
|
||
|
|
||
|
## Instructions
|
||
|
|
||
|
Write a **program** that prints the arguments received in the command line in ASCII order.
|
||
|
|
||
|
Example of output :
|
||
|
|
||
|
```console
|
||
|
student@ubuntu:~/piscine/test$ go build
|
||
|
student@ubuntu:~/piscine/test$ ./sortparams 1 a 2 A 3 b 4 C
|
||
|
1
|
||
|
2
|
||
|
3
|
||
|
4
|
||
|
A
|
||
|
C
|
||
|
a
|
||
|
b
|
||
|
student@ubuntu:~/piscine/test$
|
||
|
```
|