Генератор випадкових чисел

<stdlib.h>

<time.h>

srand(time(NULL));

int a = -5 + rand() %10;