Hi, Anybody could tell me What is the 3rd Largest Number in
the series..Thanks in Advance..
Answer Posted / pushkar1206
a=array(1,22,3,40,12)
For i=0 to ubound(a)
For j=0 to ubound(a)
If a(i)>a(j) then
temp=a(i)
a(i)=a(j)
a(j)=temp
end if
Next
Next
print a(2)
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How will you convert a string to lower case string using vbscript?
How to write functions and sub in vb script?
Which command is used for writing text on a page?
How will you get the natural logarithm of the given number in vbscript?
By default in vbscript the arguments passed to functions and subroutines are by reference or by value?
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("<
Explain the extension .hta?
Which function is used to perform string comparison?
Mention how to access array data?
how to set one column as primary key in QTP and fetch values accordingly
What is vbscript procedures?
Can anyone send me a vb script function for verifying the functionality of active links on a web page
Explain about arrays in vb script?
how to write codings in QTP using vb script. please help me. i am new to QTP. it is easy or very much tough. please tell me
How to delete a cookie using vbscript?