Thinks! I tried, but the answer was the same 0.0
float[] values = new float[1000];
int n = 1;
while (n < 10) {
values[n] = random(n, n+10);
n=n+1;
println(values[n]);
}
The code run result:
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
Thinks! I tried, but the answer was the same 0.0
float[] values = new float[1000];
int n = 1;
while (n < 10) {
values[n] = random(n, n+10);
n=n+1;
println(values[n]);
}
The code run result:
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0