>The range I'm trying to get is -5 to 14.
Code:
     srand(time(NULL));
     range = (14 - -5) + 1;
     printf(" %d",   rand() % range - 5);