Poner el escáner en una matriz

public static void main (String[] args)
{
    Scanner input = new Scanner(System.in);//create an object type Scanner which called "input"
    double[] numbers = new double[5];//creating an array type double

    for (int i = 0; i < numbers.length; i++)
    {
        System.out.println("Please enter number");
        numbers[i] = input.nextDouble();
    }
}
Faithful Flatworm