From c5ccca24178295cc52f9386450edfedc9f0b52bc Mon Sep 17 00:00:00 2001 From: Yash Goyal Date: Sun, 21 Jun 2026 22:36:27 +0530 Subject: [PATCH 1/2] docs: add note about adding negative inputs in Exercise 09 --- foundations/09_sumAll/README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/foundations/09_sumAll/README.md b/foundations/09_sumAll/README.md index 41026d40b5b..c0bb21083e6 100644 --- a/foundations/09_sumAll/README.md +++ b/foundations/09_sumAll/README.md @@ -11,4 +11,8 @@ sumAll(1, 4) // returns the sum of 1 + 2 + 3 + 4 which is 10 - How will you ensure you're summing all integers within the correct range, no matter the order of the inputs? -- Think about your sum's starting value. Then, how can you make sure every single number from the smaller input to the larger one (including both) gets added to it? \ No newline at end of file +- Think about your sum's starting value. Then, how can you make sure every single number from the smaller input to the larger one (including both) gets added to it? + +## Note + +- This exercise only accepts positive integers.If there is a negative input, then it should return an error. \ No newline at end of file From 044995283ac9ff9d522ad0339a6da79d51a488f1 Mon Sep 17 00:00:00 2001 From: Yash Goyal Date: Sun, 21 Jun 2026 22:37:25 +0530 Subject: [PATCH 2/2] docs: add note about adding negative inputs in Exercise 09 --- foundations/09_sumAll/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/foundations/09_sumAll/README.md b/foundations/09_sumAll/README.md index c0bb21083e6..4bd7339b243 100644 --- a/foundations/09_sumAll/README.md +++ b/foundations/09_sumAll/README.md @@ -15,4 +15,4 @@ sumAll(1, 4) // returns the sum of 1 + 2 + 3 + 4 which is 10 ## Note -- This exercise only accepts positive integers.If there is a negative input, then it should return an error. \ No newline at end of file +- This exercise only accepts positive integers. If there is a negative input, then it should return an error. \ No newline at end of file