Мой output - как в примере. Что тогда не так ?
package com.javarush.task.pro.task04.task0409;
import java.util.Scanner;
/*
Минимум из введенных чисел
*/
public class Solution {
public static void main(String[] args) {
//напишите тут ваш код
Scanner console = new Scanner(System.in);
int min, max;
int x = console.nextInt();
min = x;
max = x;
while (console.hasNextInt())
{
x = console.nextInt();
if (min > x)
min = x;
if (x > max)
max = x;
}
System.out.println(min);
}
}