В чем трабла? Код работает, но проверку не проходит.
package com.javarush.task.task04.task0441;
/*
Как-то средненько
*/
import java.util.Scanner;
public class Solution {
public static void main(String[] args) throws Exception {
System.out.println("Введите число 1: ");
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
System.out.println("Введите число 2: ");
int b = sc.nextInt();
System.out.println("Введите число 3: ");
int c = sc.nextInt();
if (a <= b || a >= c ) {
System.out.println(a);
}
else if (b <= a || b >= c) {
System.out.println(b);
}
else if (c <= a || c >= b) {
System.out.println(c);
}
sc.close();
}
}