open_in_new
content_copy
double[] a = new double[n]; for (int i = 0; i <n; i++){ a[i] = Math.random(); }