Skip to content

Commit

Permalink
devleagueprep#2 complete
Browse files Browse the repository at this point in the history
  • Loading branch information
michelleco82 authored and michelleco82 committed Apr 6, 2019
1 parent a6a2477 commit ea31f86
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion exercises.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ console.log(testGreeting); // printing the output value of the function.
* These two variables will be used to invoke the functions #2 - #5.
*/


var bango1 = 5;
var bango2 = 4;

/*
* #2
Expand All @@ -44,6 +45,11 @@ console.log(testGreeting); // printing the output value of the function.
* Console.log `sum` to test your code.
*/

function add(num1, num2){
return num1 + num2;
}
var sum = add(bango1, bango2);
console.log(sum);


/*
Expand Down

0 comments on commit ea31f86

Please sign in to comment.