Programming Code Center(PCC)
[JS]

(PCC)::[how-to-make-subtraction-of-two-numbers-using-JavaScript]::[js]

File Name : index.html

<!DOCTYPE html>
<html>
<body>

<h2>The - Operator</h2>

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

<script>
var x = 5;
var y = 2;
var z = x - y;
document.getElementById("demo").innerHTML = z;
</script>

</body>
</html>

Output :

The - Operator