0

Hey

Im already generating numbers correctly from 0 to MAX_INT. But Id like to know how can I change that range (including negetive numbers)

And while already on the subject, why does this code only generate numbers in the VERY high 90s?

```
int main()
{
int array[100];
srand(time(0));
gen(array);
return 0;
}
void gen (int *array)
{
int i;
for (i=0;i<=100;i++)
{
array[i]=rand()%100;
}
}
```