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
Which function allows you to instantiate an object given its programmatic identifier or progid?
i need to sort the data using qtp script for this how i need to write a qtp script
Explain about scrrun.dll in vbscript?
What is the use of option explicit in vbscript?
How are arrays declared in the vbscript language?
How do i automate a website www.flyashx.com without having any test cases witin a week time.
Mention what is select case statement?
What is the scope of a constant declared using public?
Explain the asc function?
What are string functions in vbscript?
What is the difference between do until loop and do while loop?
Explain the arrays in vb script?
why do u choose to go for testing why cant for devoloping
What aspects of vbscript make it safe so that a web page using vbscript cannot destroy or corrupt information on a user's computer?
Explain about tristate constants?