How does your code fail?
What should it output?
What does it output instead?
In reply to Re: find min, max and average by Corion in thread find min, max and average by techtween