Javascript examples for Operator:Quiz
Display the result of 50 / 5, using two variables x and y.
<!DOCTYPE html> <html> <body> <p id="demo"></p> <script> var x = 50;/* ww w . ja v a2 s. co m*/ var y = 5; document.getElementById("demo").innerHTML = x / y; </script> </body> </html>