mirror of https://github.com/01-edu/public.git
4fad8d25ca | ||
---|---|---|
.. | ||
README.md |
README.md
canyoucount
Instructions
Your program will receive some arguments. Count how many characters they have in total and print them.
- If the number of arguments is invalid it should print
0
.
Usage
$ go run . "hello" "how are you?" | cat -e
17$
$ go run . "hi" | cat -e
2$
$ go run . | cat -e
0$