JavaScript basic Arithmetic
<p>I am trying to do a simple JavaScript Arithmetic.<br>
   The user enters values, and the arithmetic is done and then plugged into "h4"    </p>

<pre><code>&lt;h4 id="sum1"&gt;&lt;h4&gt;
&lt;h4 id="sum2"&gt;&lt;/h4&gt;
&lt;h4 id="sum3"&gt;&lt;/h4&gt;
&lt;h4 id="sum4"&gt;&lt;/h4&gt;


&lt;form name="arithmetic" method="post"&gt;
    &lt;fieldset&gt;&lt;legend&gt;Enter a Number Here!&lt;/legend&gt;
    &lt;label&gt;First Number Here&lt;/label&gt;
    &lt;input type="text" name="inPutN1" /&gt;
    &lt;br/&gt;
    &lt;label&gt;Second Number Here&lt;/label&gt;
    &lt;input type="text" name="inPutN2" /&gt;
    &lt;br/&gt;
    &lt;input type="submit" value="enter" onClick="solve(inPutN1,inPutN2)" /&gt;
    &lt;input type="reset" value="clear"/&gt;
    &lt;/fieldset&gt;
&lt;script&gt; 
    function solve(sum1,sum2,sum3,sum4) {
        var operand1 = parseInt(arithmetic.inPutN1.value); 
        var operand2 = parseInt(arithmetic.inPutN2.value); 
        var sum1= operand1 + operand2; 
            document.getElementById("sum1").innerHTML=sum1;
        var sum2= operand1 - operand2;
            document.getElementById("sum2").innerHTML=sum2;
        var sum3= operand1 * operand2;
            document.getElementById("sum3").innerHTML=sum3;
        var sum4= operand1 / operand2;
            document.getElementById("sum4").innerHTML=sum4;
        }





   &lt;/script&gt;
</code></pre>

<p>Any Help would be appreciated as to why this is not working</p>
