LottieandSoul
Senior Member
why do you harm me so
edit: for context, it had to do with my French class
edit: for context, it had to do with my French class
Last edited:
public static void main(String [] args) {
System.out.println("The maximum of 2 and 5 is " + max(3.0, 5.0));
}
public static int max(double num1, double num2) {
if (num1 > num2)
return num1;
else
return num2;
}
}