public static double[] list() {
anArray = new double[10];
for(int i=0;i<anArray.length;i++)
{
anArray[i] = randomFill();
}
return anArray;
}
public static void main(String[] args) {
Random r = new Random();
int[] xr = new int[5];
for (int i = 0; i < xr.length; i++) {
xr[i] = r.nextInt(101);
}
System.out.println(Arrays.toString(xr));
}