<!DOCTYPE html>
<html>
<body>
<h2>JavaScript Variables</h2>
<p>In this example, x, y, and z are variables.</p>
<p id="demo"></p>
<script>
var a = 5;
var b = 6;
var c = 3
var d = (b + c) * a;
document.getElementById("demo").innerHTML =
"The value of d is: " + d;
</script>
</body>
</html>