in reply to Re: find min, max and average
in thread find min, max and average

i meant to say that i got the lt value using this code. But now i need to find the maximum lt value, minimum lt value, average of all lt values. i need to find these three for all the three sets of tags seperately(then a newline) and then the five set of tags seperately, inside a single program. this is what i couldnt do. so kindly help. .

Replies are listed 'Best First'.
Re^3: find min, max and average
by Corion (Patriarch) on May 24, 2011 at 10:58 UTC

    Copy and modify your search for the minimum to find the maximum, and output the maximum after that.

    After you have found the minimum and maximum, you can use almost the same technique you used to find the minimum and the maximum to also calculate the average.