Array - With random numbers

PHOTO EMBED

Wed Jan 26 2022 23:53:43 GMT+0000 (UTC)

Saved by @techwekk #random #number

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