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
Explain the operator precedence in vb script?
What is the technology used by vb script?
Explain the .wsf files?
Which function is used to perform string comparison?
What are the naming conventions while declaring a variable in the vbscript language?
What is sql loader? Explain the files used by sql loader to load file?
What is the difference between function and procedure?
Illustrate briefly about the different types of statement
How you can call vbscript functions?
Mention what is select case statement?
what is the differance between BYVAL,BYREF?
How to capture a runtime error in vbscript?
What aspects of vbscript make it safe so that a web page using vbscript cannot destroy or corrupt information on a user's computer?
how to check whether link is disabled in QTP??
Which operator can be used to do an xor operation in vbscript?