Finding max and min dimension values using the 2nd dimension limit

Hi,

I have a 2D array and I have to find the max and min value of each dimension. However, I also have to account for a limit on the value of the 2nd dimension...

arrSurvey(,) has 250 elements and 2 dimensions.

A user enters a limiting value which corresponds to the arrSurvey(i,1) dimension.

I sort the array for the 1st dimension, then somehow I have to find the highest and lowest arrSurvey(i,0) value that is within the corresponding arrSurvey(i,1) limit

Peace

• : Hi,
:
: I have a 2D array and I have to find the max and min value of each
: dimension. However, I also have to account for a limit on the value
: of the 2nd dimension...
:
: arrSurvey(,) has 250 elements and 2 dimensions.
:
: A user enters a limiting value which corresponds to the
: arrSurvey(i,1) dimension.
:
: I sort the array for the 1st dimension, then somehow I have to find
: the highest and lowest arrSurvey(i,0) value that is within the
: corresponding arrSurvey(i,1) limit
: