Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

assigning an array with random numbers

 public static double[] list() {
    anArray = new double[10];
    for(int i=0;i<anArray.length;i++)
    {
        anArray[i] = randomFill();
    }
    return anArray;
}
 
PREVIOUS NEXT
Tagged: #assigning #array #random #numbers
ADD COMMENT
Topic
Name
9+2 =