Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

How to create a cookie using vbscript?

1270


What is the use of the instr function?

1101


about vb scripting programs this type of all question& answers

2179


Description.Create

2692


What is vbscript language used for and which earlier language is it modeled upon?

1059


I want to run QTP script on Linux server is it possible to do this by connecting Windows to Linux through VPN/Terminal Server and just run the script on Linux server.

2356


In what way program "hello world" you can write in vbscript?

1166


what is diff between static and dynaic arrys?

2212


Which event is triggered when mouse focus comes out of an element in the vbscript language?

999


Explain a few date functions in vbscript

1026


Which in-built functions are used to convert the specified expression in the form of date and string in the vbscript language?

1050


How will you get the natural logarithm of the given number in vbscript?

1113


Differentiate javascript and vbscript?

1093


Mention what is the technology used by vb script?

1015


what is the differance between BYVAL,BYREF?

2324