write a vb script to display first 5 odd numbers from 1 to 100
Answer Posted / eswar
cnt =0
For i=1 to 100
If (i mod 2 <> 0) Then
MsgBox i
cnt=cnt+1
End If
If cnt=5 Then
Exit for
End If
Next
Is This Answer Correct ? | 7 Yes | 3 No |
Post New Answer View All Answers
Hi anyone Can Send Solution to the Question wt m posting now Prepare Script for the Bellow Scenario? Login to Gmail Page Open Inbox check Mails save them in a Folder
What is sql loader? Explain the files used by sql loader to load file?
How do you declare a variable in vbscript?
Explain about scrrun.dll in vbscript?
Write a function for Instr(). We need to write a function that works as same as Instr(). Code or Even pseudo code is good enough for me.?
How to scroll down a page while recording in qtp. suggest me any method apart from low level recording.
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
Write a Script for ATM in QTP
wat is the com(common object model)object for mozilla firefox???????plz if any one know the exact answer....reply me......
How to use QTP Object in .vbs(vbscript file) file Ex: Browser().., wait(), exist() and etc...
How will you get a string with the specified character the specified number of times in vbscript?
What is the difference between javascript and vbscript?
What is the difference between vb debugger and the script debugger?
What are the different types of operators and their order of precedence?
Write program for identifyig duplicates in flight Departing from and Arriving in mercury tours(web application).