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
does anyone have qtp11.0 license key.Please sendit to my mail id-rrvv2011@gmail.com...Thanks
if u ve resrevation for train and u get a number supose 1234xxxokie.after sucessul entering all required fields. now u put that number in search and want to chk wether these ar same or not if both ar same then its okie otherwise test fail.what would be the vb script code for it to compare these two values of different page.
what is the differance between BYVAL,BYREF?
How to add actions in driver script to run those actions in QTP?
How will you convert a given number to long in vbscript?
What is vbscript procedures?
Explain about arrays in vb script?
1.I want to establish connection with excel and also want to fetch the data using SQL queries. 2.the code should be written in such a way that in future if I want to migrate from excel to MS excess database , then there should be minimal changes.
For a webbased application:- what should be code in expert veiw, for retrieving a single column name "username" from a server and checking whether exported "username" from datatable doesn't exist in server. suppose i have saved in excelsheet a username="gayatri" , which is exported, then checked for whether this username "gayatri" exist in server database or not ? if exist then allow to enter new username, which should be again checked for in loop , or else come out of loop and enter a distinct "username". plz let me have this answer in my id gayatrisahooin@hotmail.com
write a function to read the items from combobox of Flight reservation & save in excel (QTP)??
What is purpose of scripting.filesystemobject class in vbscript?
Which object is used to work with the excel sheets in the vbscript language and what statement is used to create this object?
how to automatically update the sql server2005 database records when insert in vb6?
What's the difference between vbscript and vb.net?
How will you get the octal value of the given number in vbscript?