Это получается придется все переписывать что бы угодить этому засранцу, хотя по факту код рабочий..
package com.javarush.task.task05.task0531;
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));
int a = Integer.parseInt(reader.readLine());
int b = Integer.parseInt(reader.readLine());
int c = Integer.parseInt(reader.readLine());
int d = Integer.parseInt(reader.readLine());
int f = Integer.parseInt(reader.readLine());
if (min(a,b)>min3(c,d,f))
System.out.println("Minimum = " + min3(c,d,f));
else System.out.println("Minimum = " + min(a,b));
}
public static int min3 (int a, int b, int c)
{
if (a>b)
{
if (b>c)
{
return c;
}
else
{
return b;
}
}
else
{
if (a>c)
return c;
else return a;
}
}
public static int min(int a, int b) {
return a < b ? a : b;
}
}