mirror of https://github.com/01-edu/public.git
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.
15 lines
348 B
15 lines
348 B
2 years ago
|
## 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$
|
||
|
```
|