diff --git a/Week1/assignments/acha-bill/add-2-numbers.js b/Week1/assignments/acha-bill/add-2-numbers.js new file mode 100644 index 0000000..dcbce6c --- /dev/null +++ b/Week1/assignments/acha-bill/add-2-numbers.js @@ -0,0 +1,8 @@ +//This is a function that adds 2 numbers +function sum(a,b){ + return a + b; +} + +//test +const result = sum(1,2); +console.log(result); \ No newline at end of file