Signup/Sign In
Ask Question
Not satisfied by the Answer? Still looking for a better solution?

LEVEL 11 > LESSON 4 Java Script

Please Help
by

1 Answer

kshitijrana14
Try this one

function multiply(val1,val2,displayResult)
{
// find result of multiplication
let result = val1 * val2;
// display result
displayResult(result);
}

function display(result)
{
console.log("Result: " + result);
}

// call the function
multiply(2,4,display);

Login / Signup to Answer the Question.