#include "myRand.h" #include #include #include int main(void) { srand(time(NULL)); // seed random to current time of day // srand(0); // always start in same place int i, a; double b, c; for (i=1; i < 10; i++) { a = randInt(5, -10); b = randDouble(); c = randDoubleR(-5, 10); printf("%10d %f %5.4f\n", a, b, c); } return 0; }