Display the product of 10 * 50, using two variables x and y. - Javascript Operator

Javascript examples for Operator:Quiz

Description

Display the product of 10 * 50, using two variables x and y.

Demo Code

ResultView the demo in separate window

<!DOCTYPE html>
<html>
<body>

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

<script>
var x = 10;//from   w  w w .j  av a2s .c  o  m
var y = 50;
document.getElementById("demo").innerHTML = x * y;
</script>

</body>
</html>

Related Tutorials