Comment comparer 3 nombres en Java
if (a > b && a > c) {
//Here you determine second biggest, but you know that a is largest
}
if (b > a && b > c) {
//Here you determine second biggest, but you know that b is largest
}
if (c > b && c > a) {
//Here you determine second biggest, but you know that c is largest
}
abdullah