I'm trying to get the minimum of 3 floating numbers. I believe my minimum3 method is alright but I think the problem is getting 3 numbers that are being entered in the main method.

```
public class Methods1
{
public static void main(String [] args)
{
float x = input.nextFloat();
float y = input.nextFloat();
float z = input.nextFloat();
float min = minimum3( x, y, z );
System.out.println("The minimum is " + min + "\n" + "Nice job!!!");
}
public static float minimum3(float x, float y, float z)
{
float min = Math.min(Math.min(x, y), z);
return min;
}
}
```