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
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
```console
$ go run . "hello" "how are you?" | cat -e
17$
$ go run . "a" | cat -e
1$
$ go run . "I am" "myself." | cat -e
11$
$ go run . "hi" | cat -e
2$
$ go run . | cat -e
0$
```

Loading…
Cancel
Save