lab10 go brrr
This commit is contained in:
@@ -52,6 +52,7 @@ public class TwoLargerOfThe3 {
|
||||
secondLargest = _2; // Then _2 must be the largest.
|
||||
}
|
||||
}
|
||||
/*
|
||||
if (_1 == _2 | _1 == _3 | _2 == _3) {
|
||||
System.out.println("Some numbers equal. Running additional checks...");
|
||||
if (_1 == _2) {
|
||||
@@ -73,6 +74,7 @@ public class TwoLargerOfThe3 {
|
||||
}
|
||||
}
|
||||
}
|
||||
*/
|
||||
// Output
|
||||
System.out.println("The first largest is " + firstLargest + " and the second largest is " + secondLargest);
|
||||
}
|
||||
|
Reference in New Issue
Block a user