wes d2a2ba9e15 first commit 4 anos atrás
..
README.md d2a2ba9e15 first commit 4 anos atrás
code.cpp d2a2ba9e15 first commit 4 anos atrás
code.javascript d2a2ba9e15 first commit 4 anos atrás
unitTest.cpp d2a2ba9e15 first commit 4 anos atrás
unitTest.javascript d2a2ba9e15 first commit 4 anos atrás

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.