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
549 B

## paramcount
### Instructions
Write a program that displays the number of arguments passed to it. This number will be followed by
5 years ago
a newline (`'\n'`).
If there is no argument, the program displays `0` followed by a newline.
### Usage
```console
5 years ago
student@ubuntu:~/piscine-go/paramcount$ go build
student@ubuntu:~/piscine-go/paramcount$ ./paramcount 1 2 3 5 7 24
6
5 years ago
student@ubuntu:~/piscine-go/paramcount$ ./paramcount 6 12 24 | cat -e
3$
5 years ago
student@ubuntu:~/piscine-go/paramcount$ ./paramcount | cat -e
0$
5 years ago
student@ubuntu:~/piscine-go/paramcount$
```