Hi, Anybody could tell me What is the 3rd Largest Number in
the series..Thanks in Advance..
Answer Posted / anwar basha
dim temp,i,j
a=array(5,3,7,9,2,...)
for i=0 to ubound(a)-1
for j=i+1 to ubound(a)
if a(i)>a(j) then
temp=a(i)
a(i)=a(j)
a(j)=temp
end if
next
next
k=ubound(a)-2
msgbox a(k)
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is byref and byval parameters in vbscript?
How to use QTP Object in .vbs(vbscript file) file Ex: Browser().., wait(), exist() and etc...
Explain the scope of the variables using dim, public, and private keywords respectively.
HOw we can apply web service checkpoint in QTP 9.5? I tried it out with net connection also. But not getting success.
What are the 2 ways in which a variable can be declared in the vbscript language?
What is vbscript?
Which operator is used to concatenate the 2 values in the vbscript language?
while using Keyward driven framework in QTPif new requirements are added how to manage it...plz ans
does anyone have qtp11.0 license key.Please sendit to my mail id-rrvv2011@gmail.com...Thanks
wat is the com(common object model)object for mozilla firefox???????plz if any one know the exact answer....reply me......
Capture the Unique label changes on google home page for I am feeling lucky button and save those label changes to Notepad Note: Using QTP
Explain what is loose binding? Why is it not a good practice to use it?
Write a code to print numbers from 5 to 0?
hi i am trying for testing job for 3+ experience(fake) can u suggest me what type of projects i can keep in my resume and how much of knoeledge i should have abt that project.thnks in advance.urgt plz
i need to sort the data using qtp script for this how i need to write a qtp script