mirror of https://github.com/01-edu/public.git
estlop
2 years ago
committed by
Dav Hojt
1 changed files with 14 additions and 0 deletions
@ -0,0 +1,14 @@ |
|||||||
|
## sumthemall |
||||||
|
|
||||||
|
### Instructions |
||||||
|
|
||||||
|
Create a program that receives a number of arguments representing whole numbers and displays the sum of the total. If there are not enough arguments or there is an overflow display 0 followed by a new line. |
||||||
|
|
||||||
|
### Usage |
||||||
|
|
||||||
|
```console |
||||||
|
$ go run . 23 34 53 | cat -e |
||||||
|
110$ |
||||||
|
$ go run . 1000 2000 3000 4000 | cat -e |
||||||
|
10000$ |
||||||
|
``` |
Loading…
Reference in new issue