From 067acad4bbdb817ba2df88fc83289df467761180 Mon Sep 17 00:00:00 2001 From: estlop Date: Thu, 30 Jun 2022 11:07:46 +0100 Subject: [PATCH] docs: Add readme for sumthemall subject --- subjects/sumthemall/README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 subjects/sumthemall/README.md diff --git a/subjects/sumthemall/README.md b/subjects/sumthemall/README.md new file mode 100644 index 00000000..03bb4f55 --- /dev/null +++ b/subjects/sumthemall/README.md @@ -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$ +```