cara membuat bilangan bulat acak dari rentang tertentu dalam bahasa C

//How to create random integers within a specific range in C langauge. 

srand(time(0))
number = (rand() % (upper - lower + 1)) + lower
//upper = max number
//lower = least number
HmongsterMoua