write a vb script to display first 5 odd numbers from 1 to 100
Answer Posted / mudaseer
dim i,vcnt,vstro
vcnt=0
for i=1 to 100 step 2
vstro=vstro & i & vbnewline
vcnt=vcnt+1
if vcnt=5 then exit for
next
msgbox vstro
| Is This Answer Correct ? | 14 Yes | 2 No |
Post New Answer View All Answers
Hellow friends, I am learning QTP,but here problem is VB script. please guide me how to learn VB script w.r.t QTP and if you know any books tell me or if you have any materials or any use full material or any else w.r.t QTP please post me p.p.sekhar
Mention the rules for using option explicit statement?
What are the special sub-types in vbscript?
Can we create Crystal Report object in QTP?If yes then what it is and what are its various properties?
Which operator is used for fetching the modulus of the 2 numbers in the vbscript language?
Give me sm ideas to write Vbscripts abt protocol testing abilash700@gmail.com.
what do you mean .ota mobile format
How to declare an array in vbscript?
How to Enter Values on the Command promt using VB script
hi i am trying for testing job for 3+ experience(fake) can u suggest me what type of projects i can keep in my resume and how much of knoeledge i should have abt that project.thnks in advance.urgt plz
How strcomp function works?
Both Static and dynamic arrays are handled by VB script. Is it true?
When does ‘on click of button’ event gets triggered in the vbscript language?
Hello friends..... Can any give the methods for Ms-Access, and Mozilla firefox in Automation Object Model in QTP. Please give me currect answers... if you do not understand my question please don't give answers. Thanking you.
Can someone please tell me what poor design in a relational database (not the layout or style) is and how it can be avoided? PLEASE...im desperate.