write a vb script to display first 5 odd numbers from 1 to 100
Answer Posted / anjali tamrakar
Private sub form_load()
Dim a as integer
Dim b as integer
B=0
For A=1 to 100 step2
B=B+A
Print A,B
Next A
End sub
Is This Answer Correct ? | 5 Yes | 3 No |
Post New Answer View All Answers
I have an excel sheet with multiple ID's in a column. Now i need fetch those ID's in an application and check whether if it already exist in the DB. If not then i have to go with the process of inserting them in the DB. If it exists then i need to skip that ID and move to the next ID and check the same and proceed. How can i do that with for loop and if condition?
How are values assigned to the variables in the vbscript language?
how does vb script help in web page designing? explain with example.
What are the 2 ways in which a variable can be declared in the vbscript language?
What is difference between vbscript and vba?
Mention how to create a cookie using vbscript?
What is the difference between vbscript and vba?
What methods are used to create text files and open text files in the vbscript language?
What are class events?
Explain the .wsf files?
How will you format a number in percetage format in vbscript?
Explain about .wsf files?
How will you get the exponent of the given number in vbscript?
How to use QTP Object in .vbs(vbscript file) file Ex: Browser().., wait(), exist() and etc...
Which in-built functions are used to convert the specified expression in the form of date and string in the vbscript language?