компилятор жалуется на 34 строчку
а чем ему эта фигурная скобка не угодила?
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 e = Integer.parseInt(reader.readLine());
int minimum = min(a, b, c, d, e);
System.out.println("Minimum = " + minimum);
}
public static int min(int a, int b, int c, int d, int e) {
int x = min(a, b);
int y = min(c, d);
if (x < y) { if (x < c) return x;else if (x >= c) return c;}
else if (x > y) {if (y<c) return y; else if(y>=c)return y; }
else if(x==y)if (x>c) return c;else return x;
}
public static int min(int a,int b){
if (a<b) return a;
else if(a>b) return b;
else return a;
}
}