Mr.Ahmad would you please show me where is the mistake in this code..Actually it is a long program but the run stop in this point >> float random point ..
System.out.print("A random float from 0 to 1 is : ");
Random random;
float r=random.nextFloat(1.0f);
System.out.println(r);