JavaScript Sum of Two Values #Part 4

JavaScript Sum of Two Values #Part 4



           In This article we do sum of two values.


Simple Sum of Two Values


JavaScript Code


<script>
var num1=20;
var num2=20;
var sum=num1+num2;
document.write("Sum is:"+ sum);
</script>




Try it Yourself...

what you think about this article ??

Post a Comment

Previous Post Next Post