/* File: rint.h Author: James Mayfield This file provides access to the `rint' function. The rint function takes two arguments, a lower bound and an upper bound; it returns a pseudo-random integer between the two bounds inclusive. For example, the call rint(3, 5) will return either 3, 4, or 5. To use the rint function, you must: 1. #include "rint.h" at the top of each .c file that will use the rint function. 2. Compile your program so that it uses the 202 libraries. To do so, you will need add several items to your Makefile. Lines of the Makefile that create .o files will need to include `-I ~mayfield/lib202' immediately after the cc command, e.g.: cc -I ~mayfield/lib202 -g -c myfile.c Lines of the makefile that build executables will need to include `-L ~mayfield/lib202 -l202' immediately after the list of .o files, e.g.: cc -o myprog myfile.o myfile_aux.o -L ~mayfield/lib202 -l202 */ #ifndef _CMSC_202_RINT_ #define _CMSC_202_RINT_ int rint(int low, int high); #endif