Browse Source

docs(canyoucount): fix subject

pull/1622/head
jrosendo 2 years ago committed by José Rosendo
parent
commit
f6a0cc925c
  1. 10
      subjects/canyoucount/README.md

10
subjects/canyoucount/README.md

@ -2,17 +2,17 @@
### Instructions ### Instructions
Your program will receive some arguments. Count how many characters they have in total and print them. If the number of arguments is not enough, print 0. 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 ### Usage
```console ```console
$ go run . "hello" "how are you?" | cat -e $ go run . "hello" "how are you?" | cat -e
17$ 17$
$ go run . "a" | cat -e $ go run . "hi" | cat -e
1$ 2$
$ go run . "I am" "myself." | cat -e
11$
$ go run . | cat -e $ go run . | cat -e
0$ 0$
``` ```

Loading…
Cancel
Save