diff --git a/sumAll/README.md b/sumAll/README.md index 8e18b9e..55864f3 100644 --- a/sumAll/README.md +++ b/sumAll/README.md @@ -1,11 +1,16 @@ # Exercise 05 - sumAll -Implement a function that takes 2 integers and returns the sum of every number between(and including) them: +Implement a function that takes 2 integers and returns the sum of every number between (and including) them: ```javascript sumAll(1, 4) // returns the sum of 1 + 2 + 3 + 4 which is 10 ``` +In addition, you should assume the following while implementing your function: + +- parameters are not necessarily passed in numerical order +- negative integers are not valid +- only integers are valid ## Hints