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
how to write a vb script in QTP for yahoo registration form, i want to check the performance also like performance test, stress, load test like that.
Does VB/Win make standalone .EXE files?
Which keyword is used to declare a variable in the vbscript language?
Explain the support of asp for vb script functionality?
Is vbscript language a case-sensitive language and what does it mean?
what is used of Property........End Property loop ? how to write the script for it?
How can the spaces from the string be removed?
How will you release the memory acquired by an array variable in vbscript?
Capture the Unique label changes on google home page for I am feeling lucky button and save those label changes to Notepad Note: Using QTP
Explain the constants in vbscript?
How to Enter Values on the Command promt using VB script
why variable name should not exceed 255 characters?
How will you get a subset of a array in vbscript?
What is purpose of scripting.filesystemobject class in vbscript?
How will you convert a string to lower case string using vbscript?