Неподходящий тип операндов для оператора "'||'" первый тип: "boolean" второй тип: "int".
package com.javarush.task.task04.task0419;
/*
Максимум четырех чисел
*/
import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Solution {
public static void main(String[] args) throws Exception {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
String O=reader.readLine();
String T=reader.readLine();
String TH=reader.readLine();
String F=reader.readLine();
int o = Integer.parseInt(O);
int t = Integer.parseInt(T);
int th = Integer.parseInt(TH);
int f = Integer.parseInt(F);
if (o>t && o>th && o>f) {System.out.println(o);}
if (t>o && t>th && t>f) {System.out.println(t);}
if (th>t && th>o && th>f) {System.out.println(th);}
if (f>t && f>th && f>o) {System.out.println(f);}
if (o==t || o==th || o=f || t==th || f==th || f==t)
{
System.out.println(Math.max(Math.max(o, t), Math.max(th, f)));
}
//напишите тут ваш код
}
}