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
Explain about vb script?
what types of bugs will we find out in banking projects for automation testing?
How to create a cookie using vbscript?
How will you get a string with the specified character the specified number of times in vbscript?
How will you get the smallest subscript of an array in vbscript?
Which in-built function is used to format the number in the vbscript language?
Which command is used for writing text on a page?
what is resorceallocation
hi all, i had a question, that how to find out hiding a coloumn in a table i had a table having the following column names NAME DESCRIPTION CREATED TIME CREATED USER if i right clicked on a NAME column it will displays a menu having the same column names in a list like NAME DESCRIPTION CREATED TIME CREATED USER with check boxes.if i unched any check box, that column name should not be appear in the main table column names could anyone please solve this problem?
give me any information abou vb script books learn quckly
Out of the different type of operators, which are evaluated first and last in the vbscript language?
how to comvert 120 into one hunderd twenty rupees only and vice varsa
How to find the font in qtp. Scenario:After entering the username and passwd you will be navigate into the "welcome:Username" page.Now I want to extarct font for this message.
Explain the scope of the variables using dim, public, and private keywords respectively.
Write program for identifyig duplicates in flight Departing from and Arriving in mercury tours(web application).