write a vbscript for finding the sum of the numbers from 1-
50
Answer Posted / kishore
dim n
n=inputbox("enter a number")
k=(n*(n+1))/2
msgbox k
| Is This Answer Correct ? | 10 Yes | 13 No |
Post New Answer View All Answers
By default in vbscript the arguments passed to functions and subroutines are by reference or by value?
What is Procedure or Subroutine in VB Script?
Explain about the asc function?
What is the technology used by vb script?
did any one attended interview in applabs if you had gone through plz tell me the procedure
What are lbound and ubound in the vbscript language?
what types of bugs will we find out in banking projects for automation testing?
Explain How do you create a recordset object in vbscript?
How are values assigned to the variables in the vbscript language?
Explain the string concatenation function in vbscript?
I am working on QTP, got struck in one place.. In my application depending upon configuration WebEdit count is increasing/ decreasing.. how to get these webedits..
Explain about scrrun.dll?
How to create a cookie using vbscript?
how to answer "TELL ME ABOUT UR SELF" as exp.person. whr to start and whr to stop. can anyone tel me
In the Web page we have a table link, if we click on that link all the contents under that link will be sorted (asscending/Descending). Now i want to check in which order the list is ? for that i need to get the data in to some var How can i get that cells data?