Hi, Anybody could tell me What is the 3rd Largest Number in
the series..Thanks in Advance..
Answer Posted / saket bharti
a=Array(-1,0,23,-12,98,-300)
Dim temp,i,j
For j=0 to UBound(a)-1
For i=0 to UBound(a)-1
If a(i)<a(i+1) then
temp=a(i+1)
a(i+1)=a(i)
a(i)=temp
End If
Next
Next
Msgbox a(2)
Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
There are 5 web pages.write a script to click the button on 4th web page.
What is select case statement?
How to replace junk code recorded by QTP with a mall function.
Which command is used for writing text on a page?
give me any information abou vb script books learn quckly
What is the purpose of folders object of scripting.filesystemobject class in vbscript?
Which in-built function is used to format the number in the vbscript language?
I need to get some data from data base and store this
(retrieved) data in a excel sheet using VB script in QTP9.0
I have created connection for data base
I have created as excels sheet by using
Set XL=CreateObject("Excel.Application")
XLworksheet.cells(1,1).value= rs.fields.item("<
How are values assigned to string type and numeric type variables?
How to make sure that items in a wintree are sorted al?
Mention what is the use of option explicit in vbscript?
What are the special sub-types in vbscript?
What are the naming conventions while declaring a variable in the vbscript language?
Explain the filter expression?
What are subprocedures in vbscript?