Random Number: Whenever I run it show me an error. Here is an error "implicit conversion loses integer precision 'time_t' (aka 'long') to 'unsigned int'", so i put change to `srand( (unsigned int) time(NULL) );`

it run but it seem the number is not change at all.

```
void read_array (int read[] , int size1)
{
srand (time(NULL));
for (int index = 0; index < 30; index ++)
{
read[index]= rand() % 30 + 1;
}
mode(read, 30);
print_array(read, 30);
}
```

Other one is

I am trying to find the mode but it didnt work! can someone help me out..

This is what i got so far

```
for (int index = 0; index < size2; index ++)
{
//count[mode[index] - 1]++;
if (mode[index] == mode[index + 1]) // compare the first to sec array
{
again++;
cout <<"This is number " << again << endl;
}
}
```