Class RandomSeq

  • public class RandomSeq
    extends Object
    The RandomSeq class is a client that prints out a pseudorandom sequence of real numbers in a given range.

    For additional documentation, see Section 1.1 of Algorithms, 4th Edition by Robert Sedgewick and Kevin Wayne.

    Robert Sedgewick, Kevin Wayne
    • Method Detail

      • main

        public static void main​(String[] args)
        Reads in two command-line arguments lo and hi and prints n uniformly random real numbers in [lo, hi) to standard output.
        args - the command-line arguments