Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Hi, Anybody could tell me What is the 3rd Largest Number in
the series..Thanks in Advance..

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How should i Create Email invite with server-side Coding?

2140


How to write VB script for login module?

3193


What is the extension of the vbscript file?

1055


How are values assigned to string type and numeric type variables?

1013


Mention what is the use of option explicit in vbscript?

1014


Explain about adodb.stream class?

1135


Mention how to assign a date value to a variable?

1096


Mention what is vbscript?

1135


Explain the extension .hta?

970


what is used of Property........End Property loop ? how to write the script for it?

2261


what is the standards used for writing the script in QTP

2341


How to declare an array in vbscript?

1338


Difference between dim,public and private variables in vb script?

959


Which object is used to work with the database in the vbscript language and what statement is used to create this object?

1007


What is the purpose of the err object in the vbscript language?

1111