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
Mention what is variant in vbscript?
When does ‘on click of button’ event gets triggered in the vbscript language?
How to access array data?
What is the technology used by vb script?
Which loop is used in case of arrays in the vbscript language?
Mention how to assign a date value to a variable?
How will you reverse a string in vbscript?
Explain the filter expression?
What is the use of the date function in the vbscript language?
Could Anybody Please tell me What is the script for Find 3rd Largest element in the Array without using a SORT function int Find(int arr[], int size); Thanks in Advance..
i have a problem with this error(this error related edit and
delete button,when i click this button in datagrid..i will
get this error)"Invalid postback or callback argument.
Event validation is enabled using
What is the use of the recordset object and which statement is used to create such an object?
give me any information abou vb script books learn quckly
Explain about filter expression?
How to use QTP Object in .vbs(vbscript file) file Ex: Browser().., wait(), exist() and etc...