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
Explain about tristate constants in vbscript?
Hi anyone Can Send Solution to the Question wt m posting now Prepare Script for the Bellow Scenario? Login to Gmail Page Open Inbox check Mails save them in a Folder
How are values assigned to the variables in the vbscript language?
Can we create Crystal Report object in QTP?If yes then what it is and what are its various properties?
Explain about filter expression?
Which function is used to perform string comparison?
Explain about the support of asp for vb script functionality?
How many types of operators are available in the vbscript language?
Out of the different type of operators, which are evaluated first and last in the vbscript language?
Explain about scrrun.dll in vbscript?
can anyone send me a vb scripts code for clicking on a link and coming back on home page again does the same for many links on a web page.
What is the use of the ‘open’ method to work with the database in the vbscript language and what connection string is passed in the same and what is its usage?
Explain the arrays in vb script?
Mention what is byref and byval parameters in vbscript?
How to create a function in vbscript?