Browse Source

docs: Add more examples and what to do when there are no arguments

1258-canyoucount
estlop 2 years ago
parent
commit
dfb2833658
  1. 6
      subjects/canyoucount/README.md

6
subjects/canyoucount/README.md

@ -2,11 +2,13 @@
### Instructions
Your program will receive some arguments. Count how many characters they have in total and print them.
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
```console
$ go run . "hello" "how are you?" | cat -e
17 $
17$
$ go run . | cat -e
0$
```

Loading…
Cancel
Save