write a vbscript for finding the sum of the numbers from 1-
50
Answer Posted / ankita
dim i ,n ,sum as integer
n=50
sum=0
for i=1 to n
sum=sum+i
msgbox("sum of 1 o 50 no. =" +sum)
next
| Is This Answer Correct ? | 19 Yes | 7 No |
Post New Answer View All Answers
after medical test,when will be the police verification
Explain what is loose binding? Why is it not a good practice to use it?
How to open browser in vb script?
What are the environments supported by vbscript language?
what is the features of visual basic?
Hellow friends, I am learning QTP,but here problem is VB script. please guide me how to learn VB script w.r.t QTP and if you know any books tell me or if you have any materials or any use full material or any else w.r.t QTP please post me p.p.sekhar
How to write VB script for login module?
How will you check that a variable is an array in vbscript?
Explain about tristate constants?
what is the object hyrarchy in QTP for a web based application
Difference between dim,public and private variables in vb script?
Which operator can be used to change the value of the operand or change the state of the condition?
How will you reverse a string in vbscript?
Which function allows you to instantiate an object given its programmatic identifier or progid?
Explain about vb script?