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
What is variant in vb script?
What is the purpose of regexp object in vbscript?
what is inner join? what is outer join? what is a constraint? tell me about rdbms? tell me about acid properties?
How are values assigned to the variables in the vbscript language?
did any one attended interview in applabs if you had gone through plz tell me the procedure
Which operator is used for fetching the modulus of the 2 numbers in the vbscript language?
What is byref and byval parameters in vbscript?
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.
wht must be the interview question on corinthian information technology solutions incorporated.
How are comments handled in the vbscript language?
What is vbscript procedures?
1.I want to establish connection with excel and also want to fetch the data using SQL queries. 2.the code should be written in such a way that in future if I want to migrate from excel to MS excess database , then there should be minimal changes.
How can the spaces from the string be removed?
after medical test,when will be the police verification
what is the difference between modular and data and keyword driven framework