public/subjects/canyoucount
jrosendo 4fad8d25ca docs(canyoucount): ran prettier format 2022-12-05 12:14:44 +00:00
..
README.md docs(canyoucount): ran prettier format 2022-12-05 12:14:44 +00:00

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$