Function (Addition)

function add(a, b)
{
var c = a + b;
return c;
}

var i = add(3, 4);
console.log(i);

var j = add(6, 7);
console.log(j);

var k = add(12, 14);
console.log(k);
//Explanation
// addition function
function add(a, b)
{
var c = a + b;
return c;
}

//call addition function and store the result in "i" (i=c)
var i = add(3, 4);
console.log(i);

//call addition function and store the result in "j" (j=c)
var j = add(6, 7);
console.log(j);

//call addition function and store the result in "k" (k=c)
var k = add(12, 14);
console.log(k);