SUBTRACTION

<!-- function is called here -->
<button id="enter" onclick="print(c,d)">MULTIPLY</button> 
<p id="result"></p>
<!-- javascript -->
<script>
    function print(c,d) {
        document.getElementById("result").innerHTML = c / d // math
    }
    // variables are defined
    var c = 5
    var d = 5

</script>