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
What are the special sub-types in vbscript?
Give me sm ideas to write Vbscripts abt protocol testing abilash700@gmail.com.
A folder is there inside no of textfiles are avilable. How do count the textfiles. Normally folder means we are using subfolder methods but textfiles is not working for subfolder methods and how do get file name also.
When are redim statement and preserve keyword used in the vbscript language?
In html file what is an ideal position to include vbscript?
What is the use of option explicit in vbscript?
Mention the rules for using option explicit statement?
Program to use input box and send even numbers into sheet1 and odd numbers into sheet2 and prime numbers into sheet3 using vbscript(QTP)?
Mention what is the difference between vbscript and vba?
When does ‘on click of button’ event gets triggered in the vbscript language?
How to throw an error in vbscript?
Which operator can be used to do an xor operation in vbscript?
What are the environments supported by vbscript language?
Which command is used for writing text on a page?
How to get the length of the string by making use of the string function?