Initializing the random number generator: srand randseed RandSeed

### 8.3.2 Initializing the random number generator: srand randseed RandSeed

The srand (or randseed) and RandSeed commands will initialize (or re-initialize) the random numbers given by rand. The RandSeed requires an integer argument, and srand can either take an integer argument or no argument. If you don’t give srand an argument, then it will use the system clock to initialize the random numbers.