You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

324 B

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$