```
{
srand((unsigned)time(0));
int random_integer;
int lowest=-10, highest=10;
int range=(highest-lowest)+1;
for(int index=0; index<8; index++){
random_integer = lowest+int(range*rand()/(RAND_MAX + 1.0));
cout << random_integer << endl;
}
```

Hi there, I'm just getting back into c++ after a 2 year break.

I'm just wondering how I go about using the numbers generated here later on in the program and is there also a way to get I to generate numbers with decimal values as well.