Hi everyone! Somebody can help me!? Please, i´m stuck here.
package com.codegym.task.task02.task0217;

/*
Minimum of four numbers

*/
public class Solution {
    public static int min(int a, int b, int c, int d) {
          int min3;
        if ((min1) <= c && (min1) <= d){
            min3 = (min1);
        }else if (c <= (min1) && c <= d) {
            min3 = c;
        }else {
            min3 = d;
        }
        return min4;
    }

    public static int min1(int a, int b) {
        int min2;
        if (a < b)
            min2 = a;
        else
            min2 = b;
        return min2;
    }

    public static void main(String[] args) throws Exception {
        System.out.println(min1(-20, -10));
        System.out.println(min(-20, -10, -30, -40));
        System.out.println(min(-20, -10, -30, 40));
        System.out.println(min(-40, -10, -30, 40));
    }
}
thnks.