... I love you lol. Thank you so much!!!
Type: Posts; User: ak120691
... I love you lol. Thank you so much!!!
bash-2.05$ javac MaxOfThree.java
MaxOfThree.java:98: variable max might not have been initialized
System.out.println("Maximum of Three integers " + i + ", " + j + ", " + k + " is " + max);
That...
I understand that. What confuses me is how to compare three variables without using the && and || operators.
I have never coded for 3 variables. Comparing 2 is simple. When it hits 3 you have...
So basically my code works (or at least I'm pretty sure it does). I removed the last if/else statements and it all runs. However when I put it in I get a "max" may not have been initialized.
Could...