public class FindBiggest {
public static int BiggestInt(int...values){
int largest=Integer.MIN_VALUE;
for (int i : values){
if (i>largest)largest=i;
}
return largest;
}
public static double BiggestDouble(double...values){
double largest=Double.MIN_VALUE;
for (double d : values){
if (d>largest)largest=d;
}
return largest;
}
}