Q:

Javascript Program to implement multiplication using function

0

Program to implement multiplication by calling a function.

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

<html>
<body>

<p id="demo"></p>

<script>
var a = Multiplication(5, 3);
document.getElementById("demo").innerHTML = a;

function Multiplication(x, y) 
{
    return x * y;
}

</script>

</body>
</html>

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now