Here is my situtation.
I have an app. that receives input (numeric) from the user.
That number is associated with a string (month of the year)
I must be able to total, average, find min., find max. of the input numbers.
I have been able to do all of these but I must also return a string with both the min., and max..
I also have a listbox that displays the input numbers with the associated month.
" 3 for the month of January".
I am trying to sort the array and return the string from the associated lowest.
I have this array call RainArray:
decRainFall(0) = CDec(strMonths(0))
As well as this array called MonArray.
strMonths(0) = "January"
I am trying to sort the RainArray
Dim RainArray(11) As Decimal Array.Sort(decRainFall) Dim decLowestMonth(0) As Decimal Dim strLowestMonth(0) As String Dim decHighestMonth(11) As Decimal Dim strHighestMonth(11) As String lblMaximum.Text = strLowestMonth.ToString
Nothing is returning. Be gentle.