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 / smitha

for i = 1 to 50
if i mod 2 = 0 Then
evenStr = evenstr & i & " , "
end if
Next
MsgBox evenStr

Is This Answer Correct ?    34 Yes 20 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many types of recording modes in qtp? Which will be used when?

1036


What are the features supported by UFT?

1144


How to find Operating system information using QTP script?

1055


Where you get the run time data table?

1090


Explain the types of properties that quick test learns while recording?

1079


For example you are checking bit map check point before coming to the results. How can you say it is passed? Or failed? Anyways?

1081


What is the framework your company is following. What is the reason. Explain why key word driven frame work is chosen.

2283


Explain about business process component? types and usage?

2128


Explain the differences between table and db checkpoints?

1047


Hi there, I've installed a trial version of QTP to see if it works with my product but I cant automate selecting windows from a tree view? Can anyone give me any pointers? Many Thanks

1908


How to use conditional loops in qtp ?

1104


How to add verification steps to tests?

9856


Where we can use the analog mode and where we can use the low – level mode?

1040


how interviews will be on QTP?

1995


If object is not recognized by qtp but the object is standard object what is your approach?

1087