какой должна быть последняя строка?
(a==b && b==c && c==d); system.out.println (a||b||c||d); - не срабатывает
package com.javarush.task.task04.task0419;
/*
Максимум четырех чисел
*/
import java.io.*;
import java.util.*;
public class Solution {
public static void main(String[] args) throws Exception {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
int a = Integer.parseInt(reader.readLine());
int b = Integer.parseInt(reader.readLine());
int c = Integer.parseInt(reader.readLine());
int d = Integer.parseInt(reader.readLine());
if (a<=d && b<=d && c<=d) System.out.println (d);
if (a>=b && a>=c && a>=d) System.out.println (a);
if (a<=b && b>=c && b>=d) System.out.println (b);
if (a<=c && b<=c && c>=d) System.out.println (c);
//напишите тут ваш код
}
}