I found this random project on the net to test my understanding of recursion... I've been working on it for a long time, still can't get it to work.

Min/Max/Avg
Create a program that will take in ten doubles, then display them,
then give the Maximum, Minimum, and the Average. Hint: Use recursion to cut down the size of the program.

how would you do this? I can do it simply with functions, but can't get it to work with recursion.

Thanks.
-Psycho