Минималки выводит.но задание не засчитывается, посмотрите, что не так!
package com.javarush.task.task02.task0216;
/*
Минимум трёх чисел
*/
public class Solution {
public static int min(int a, int b, int c) {
int m;
if (a<=b)
m=a;
else
m=b;
if (b<=c)
m=b;
else
m=c;
if (c<=a)
m=c;
else
m=a;
return m;//напишите тут ваш код
}
public static void main(String[] args) {
System.out.println(min(1, 2, 3));
System.out.println(min(-1, -2, -3));
System.out.println(min(3, 5, 3));
System.out.println(min(5, 5, 10));
}
}