11 lines
149 B
C
11 lines
149 B
C
#include "guesser.h"
|
|
#include <stdlib.h>
|
|
#include <time.h>
|
|
|
|
int guess_number(int min, int max)
|
|
{
|
|
srand(time(NULL));
|
|
|
|
return rand() % max + min;
|
|
}
|