array functions
Posted: Fri Mar 04, 2005 12:16 pm
if i have a array of integers how would i get the index of the biggest integer?
is there any function that does this??
for example if i have an array (1,2,3,4,3,2,1) i would need some function that tells me that the location of the biggest integer is in index 3. anyone know of a way of doing this?
is there any function that does this??
for example if i have an array (1,2,3,4,3,2,1) i would need some function that tells me that the location of the biggest integer is in index 3. anyone know of a way of doing this?