/**
 * Play with Random Numbers
 *
 * @author  Terry Sergeant
 * @date    26 Sep 2007
 *
 * 1. Run the program several times and observe the output.
 * 2. Modify the program to use a loop to calculate and display
 *    20 "random" values
 * 3. Modify the program to display 20 random values multiplied by 10
 * 4. Further modify so that the double value (multiplied by 10) is
 *    converted to an integer.
 * 5. Take the result from step 4 and add one.
 * 6. Think of some applications for this ...
*/

//import java.util.Scanner;

public class Random
{
	public static void main(String [] args)
	{
		//Scanner kb= new Scanner(System.in);
		double x;

		x= Math.random();
		System.out.println("Value: "+x);
}

