wes d2a2ba9e15 first commit | 4 years ago | |
---|---|---|
.. | ||
README.md | 4 years ago | |
code.cpp | 4 years ago | |
code.javascript | 4 years ago | |
unitTest.cpp | 4 years ago | |
unitTest.javascript | 4 years ago |
by formateur tags: algebra, math, numbers, language_fundamentals
Create a function that takes two numbers as arguments and return their sum. Examples addition(3, 2) ➞ 5 addition(-3, -6) ➞ -9 addition(7, 3) ➞ 10 Notes Don't forget to return the result. If you get stuck on a challenge, find help in the Resources tab. If you're really stuck, unlock solutions in the Solutions tab.
Create a function that takes two numbers as arguments and return
their sum.
addition(3, 2) ➞ 5
addition(-3, -6) ➞ -9
addition(7, 3) ➞ 10
return
the result.