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 about tristate constants in vbscript?
When does ‘on click of button’ event gets triggered in the vbscript language?
Explain the string concatenation function in vbscript?
write a program to display configuration of a local system with the help of vb script.
In the Web page we have a table link, if we click on that link all the contents under that link will be sorted (asscending/Descending). Now i want to check in which order the list is ? for that i need to get the data in to some var How can i get that cells data?
Which date function is used in the vbscript language to find the difference between the 2 dates?
Mention what is the main difference between function and sub-procedure?
Write a test case using Test if the images,a particular test exists,check if the page links match,page response is within a certain range,parameterization of the test,the test should comprise of actions,the test should use a custom function,the test should use global repository
how to check whether link is disabled in QTP??
Mention the environments where vbscript could be run?
What is the difference between javascript and vbscript?
What are class properties?
Can we create Crystal Report object in QTP?If yes then what it is and what are its various properties?
How to write functions and sub in vb script?
What is the scope of a constant declared using public?