#include "random.h" /***************************************************** * * * File Name: random.h * * Author: Brenda Sonderegger * * Contents: * * get_random() * * * *****************************************************/ /***************************************************** * int get_random(int low, int high) * * Author: Brenda Sonderegger * * Last Modified: Sept. 23, 1998 * * Parameters: two integers * * Return value: random integer between low and high * * Side Effect: none * * Description: guarantees that the returned value is * * between low and high inclusively * * Functions called: from stdlib.h * * srand() * * rand() * * from time.h * * time() * * * *****************************************************/ int get_random(int low, int high);