here is what i have so far. i had to get the avg of 4 real numbers then get the maximum and minimum. i was able to get
import java.util.Scanner;
public class AverageMaxMin {
public static void main(String[] args) {
System.out.println("Enter 4 numbers:");
Scanner input=new Scanner(System.in);
double a,b,c,d;
double avg;
a=input.nextDouble();
b=input.nextDouble();
c=input.nextDouble();
d=input.nextDouble();
avg=(double)(a+b+c+d)/4.0;
System.out.println("The Average is: " + avg);
}
}