<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>
JavaScript
Program to implement multiplication using function.

Written by
View ProfileNikhil Juneja
Passionate software developer and technical contributor at TutorialsLink.
