Introduction - If you have any usage issues, please Google them yourself
Starting with the use of a random number generated occurrence data, and the rand function: the use of random (0,1) to achieve random (a, b) prototype: void srand (unsigned seed) function