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
Explain the filter expression?
what is inner join? what is outer join? what is a constraint? tell me about rdbms? tell me about acid properties?
Explain the arrays in vb script?
How will you reverse a string in vbscript?
Which object provide information about a single runtime error in a vbscript?
regular expression that will recognize a browser as long as its name property starts with mybrowser
What is vbscript procedures?
how to check whether link is disabled in QTP??
What are lbound and ubound in the vbscript language?
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..
i have a problem with this error(this error related edit and
delete button,when i click this button in datagrid..i will
get this error)"Invalid postback or callback argument.
Event validation is enabled using
How can the spaces from the string be removed?
How will you get the smallest subscript of an array in vbscript?
can anyone send me a vb scripts code for clicking on a link and coming back on home page again does the same for many links on a web page.
How will you get the exponent of the given number in vbscript?