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 print even numbers from 1-50?

Answer Posted / pradeep

For i=1 to i=50
if (i mod 2=0)then
messagebox i&"is even number"
else
messagebox i&"is odd number"
endif
next

Is This Answer Correct ?    23 Yes 36 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the difference between built-i function and In-built function?

2163


How to indentify MS-Word objects like Menubar, Toolbar, table/columns/rows/cells etc within Word document, using QTP?

2328


With what extension you can save the list of tests in a file to run in test batch runner?

1012


Can anyone help.i need total excelsheet operations,shortcuts in testing environment from starting onwards....

2013


What are the different attribute used with regular expression?

965


Explain the features of quick test pro(qtp)?

1029


Is it possible to merge two object repository files in qtp?

1176


What are the 3 main stages involved in testing with qtp?

1082


How can you close the second opened browser?

1401


How to use Environment parameterization? Explain with an example.

1968


What are the five challenges you faced in QTP?

3201


if our qtp vb Script may be Currepted then What we want do?

1905


Hi! My OTP script has several bitmap checkpoints included which I check in the test results xml file. The test is for SAP 4.7. I need to save these bitmaps to files or at least export them to the html file using the export function in the test results viewer. Could you please help me with this problem? Thank you in advance! Best regards, Peter

2664


How to associate function library at a run time?

1127


What is data driver in qtp?

1005