TO FIND SUM OF TWO NUMBERS IN VBSCRIPT

<html>
 <body>
 <script type="text/vbscript">
 dim a, b, c
a=cint(inputbox("Enter any number"))
b=cint(inputbox("Enter any number"))
c=a+b
document.write(a & "+" & b & "=" & c)
</script>
</body>
</html>

No comments:

Post a Comment