can somebody explain to me how to do this(or do it for me, and show me how you did it):

Write an application that reads four doubles as its input. The program then displays as its output the maximum integer of the four, the minimum integer of the four, and the average of the four doubles. (Hint: the Java method Math.max (resp., Math.min) will return the maximum (resp., minimum) of two doubles, e.g., Math.max(3.2, -4.0) computes 3.2 as its answer.)

Thanks sooo much

**Edited by BloodyChuck, 13 February 2008 - 06:27 PM.**