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
What is loose binding? Why is it not a good practice to use it?
Explain about tristate constants?
Explain vbscript in detail?
Explain few date functions in vbscript?
what is event handling?
Which in-built functions are used to convert the specified expression in the form of date and string in the vbscript language?
How to use QTP Object in .vbs(vbscript file) file Ex: Browser().., wait(), exist() and etc...
When does ‘on click of button’ event gets triggered in the vbscript language?
What are the special sub-types in vbscript?
write any ttest cases using check points and parameterization
What is the extension of the vbscript file?
What's the difference between vbscript and vb.net?
When are redim statement and preserve keyword used in the vbscript language?
Can u describe what kind of testing are for OTC derivates by banks.
Mention when to use function procedures and what are its characteristics?