Hi, Anybody could tell me What is the 3rd Largest Number in
the series..Thanks in Advance..
Answers were Sorted based on User's Feedback
Answer / 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 |
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 |
Answer / anwar basha
dim temp,i,j
a=array(5,3,7,9,2,...)
for i=0 to ubound(a)-1
for j=i+1 to ubound(a)
if a(i)>a(j) then
temp=a(i)
a(i)=a(j)
a(j)=temp
end if
next
next
k=ubound(a)-2
msgbox a(k)
| Is This Answer Correct ? | 0 Yes | 0 No |
Write a program using Java Script / VBscipt that checks if two matrices have identical values in all the elements
write a vb script to generate the following pattern ***** **** *** ** *
What is the difference between javascript and vbscript?
Mention what is select case statement?
Explain about filter expression?
write a vb script to find simple interest using functions
Write a test case using Test if the images,a particular test exists,check if the page links match,page response is within a certain range,parameterization of the test,the test should comprise of actions,the test should use a custom function,the test should use global repository
1) How can we use VB script in testing the application? 2) What all are the things(Software application to be installed in PC) we need to learn VBscript?
What is difference between Active screen and movie screen recorder in QTP 9.2?
how to add action through AOM in QTP
Explain about scrrun.dll?
What is byref and byval parameters in vbscript?