mirror of https://github.com/01-edu/public.git
docs(canyoucount): fix subject
This commit is contained in:
parent
8d36aa1317
commit
f6a0cc925c
|
@ -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…
Reference in New Issue