How to Perform Addition in Javascript

How to Perform Addition in Javascript

How to Perform Addition in Javascript


how to perform addition in javascript,javascript addition not concatenation,addition in javascript function,addition of two matrix in javascript,javascript addition of two numbers using textbox


Addition of 2 no

<html>
<head>
<title>
welcome
</title>
</head>
<body>
<script>
var a,b,c;
document.write("Enter the value of a and b is:");
a=parseInt(prompt("Enter the value of a is:"));
b=parseInt(prompt("Enter the value of b is:"));
c=a+b;
alert(c);
</script>
</body>
</html>


Post a Comment

0 Comments