write a vb script to print even numbers from 1-50?

Answer Posted / alam

Num i
for i =1 To20
if mod 2=0
print number is evevn
else
print number is not even
end sub

Is This Answer Correct ?    4 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Will down time for server and content maintenance/upgrades be allowed? how much?

614


How to use debug tools?

2196


how to idetfy which test cases are automated?who will deside that plz tell me

1537


What are main panes available in qtp test browser?

536


How to use the object spy in quicktest professional (qtp) 8.0 version?

510






we add library file used in test via settings or through "ExecuteFile" command. when we implement framework do we make common library file and load the same for all the test cases execution?

1580


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

1805


How many types of Automation frameworks are there in UFT? Describe them.

556


Differences between text and test area checkpoints?

580


Define Environment Variable in UFT and its uses?

604


How can we import into Excel "Details" ,"Result" ,"Time" parameters from within a Results Report which is generated after a Run error when a script is executed in QTP? Refer E.g below Status Functionality Description RunDate Fail Login User should be able to Login 12/3/2007 StartTime EndTime Details* 1:31:58 PM 1:32:29 PM (this one i want)

1526


How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s. What's the difference between them? How to handle script issues?

527


Where we can use the synchronization?

569


what are all the fileds present in object repository?

1560


I am having major problems with some DB Table Checkpoints I add to my script. I 35 web based applications recorded and each has DB Table Checkpoints insert but only 1 script isn't recognizing the DB Table Checkpoints for some reason. I've checked the DB connections and the info in the Library Functions and still only this one script out of 35 doesn't recognize the DB Table Checkpoints. Can someone please help me figure out why only this one script out of 35 that's hitting the same database is having a problem.

1739