wes d2a2ba9e15 first commit | пре 4 година | |
---|---|---|
.. | ||
README.md | пре 4 година | |
code.cpp | пре 4 година | |
code.javascript | пре 4 година | |
unitTest.cpp | пре 4 година | |
unitTest.javascript | пре 4 година |
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.