write a vbscript for finding the sum of the numbers from 1-
50
Answer Posted / jethva_trupti
<html>
<body>
<script type="text/vbscript">
dim n,i,sum
sum=0
i=1
n=5
do while (i<=n)
sum=sum+i
i=i+1
loop
document.write(sum)
</script>
</body>
</html>
| Is This Answer Correct ? | 60 Yes | 15 No |
Post New Answer View All Answers
Mention what is the difference between vbscript and vba?
In what way program "hello world" you can write in vbscript?
Hi anyone Can Send Solution to the Question wt m posting now Prepare Script for the Bellow Scenario? Login to Gmail Page Open Inbox check Mails save them in a Folder
1. How do declare public variable in vb scripts?
How to capture a runtime error in vbscript?
how to answer "TELL ME ABOUT UR SELF" as exp.person. whr to start and whr to stop. can anyone tel me
wat is the com(common object model)object for mozilla firefox???????plz if any one know the exact answer....reply me......
How to create a function in vbscript?
Explain the scope of the variables using dim, public, and private keywords respectively.
What is the technology used by vb script?
Explain a few date functions in vbscript
What is vbscript procedures?
What are keywords in the vbscript language?
By default in vbscript the arguments passed to functions and subroutines are by reference or by value?
How will you get a subset of a array in vbscript?