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
after medical test,when will be the police verification
Hi All, I am facing one problem in QTP. There is link object in my application that exist in the Frame in mozilla firefox. Click event on that object is not working but once the frame is enabled/activated then click event works fine.But the frame does not have the activate property. This problem is coming in firefox only. Regards
In html file what is an ideal position to include vbscript?
By default in vbscript the arguments passed to functions and subroutines are by reference or by value?
Explain what is loose binding? Why is it not a good practice to use it?
What is the technology used by vb script?
Which object is used to work with the excel sheets in the vbscript language and what statement is used to create this object?
Explain about filter expression?
How to create a cookie using vbscript?
how to increase the values in text box in a given text box increament by two values by clicking on button
How are arrays declared in the vbscript language?
I have an excel sheet with multiple ID's in a column. Now i need fetch those ID's in an application and check whether if it already exist in the DB. If not then i have to go with the process of inserting them in the DB. If it exists then i need to skip that ID and move to the next ID and check the same and proceed. How can i do that with for loop and if condition?
Hi, Can anyone please send me vb script examples to practice vb and also material to learn vb scripting in QTP? my email id : hareen_11@yahoo.com
Explain about operator precedence in vb script?
What is the difference between vbscript and vba?