wes d2a2ba9e15 first commit 4 rokov pred
..
README.md d2a2ba9e15 first commit 4 rokov pred
code.cpp d2a2ba9e15 first commit 4 rokov pred
code.javascript d2a2ba9e15 first commit 4 rokov pred
unitTest.cpp d2a2ba9e15 first commit 4 rokov pred
unitTest.javascript d2a2ba9e15 first commit 4 rokov pred

README.md

Return the Sum of Two Numbers

by formateur tags: algebra, math, numbers, language_fundamentals

Summary

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.

Instructions

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.