import java.util.Random;
public class ForEachFloat {
public static void main(String[] args) {
Random r = new Random(50);
float[] f = new float[10];
for(int i = 0 ; i < 10; i++) {
f[i] = r.nextFloat();
}
for(float fl: f) {
System.out.println("f:"+fl);
}
}
}