NAME

random() - return a pseudo-random number, this is suitable for general simulation, but maybe predictable.

SYNOPSIS

int random( int n );

DESCRIPTION

Return a pseudo-random number from the range [0 .. (n -1)] (inclusive).