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


Please Help Members By Posting Answers For Below Questions

How will you convert a string to lower case string using vbscript?

1023


How to write functions and sub in vb script?

1102


Which command is used for writing text on a page?

1005


How will you get the natural logarithm of the given number in vbscript?

1050


By default in vbscript the arguments passed to functions and subroutines are by reference or by value?

1110


I need to get some data from data base and store this (retrieved) data in a excel sheet using VB script in QTP9.0 I have created connection for data base I have created as excels sheet by using Set XL=CreateObject("Excel.Application") XLworksheet.cells(1,1).value= rs.fields.item("<>") I have taken a for loop and changed the cells values (1 as i and another 1 as j) But still I am not able to get Plz kindly tell me know this . It is very urgent

2245


Explain the extension .hta?

966


Which function is used to perform string comparison?

1126


Mention how to access array data?

1008


how to set one column as primary key in QTP and fetch values accordingly

2326


What is vbscript procedures?

1141


Can anyone send me a vb script function for verifying the functionality of active links on a web page

2028


Explain about arrays in vb script?

1060


how to write codings in QTP using vb script. please help me. i am new to QTP. it is easy or very much tough. please tell me

14211


How to delete a cookie using vbscript?

1156