int biggest = 0;
int smallest = 100;
random[i] = (rand()%7)+7;
cout<<"Index "<<x<<" - - "<<random[x]<<endl;
cout<<"The biggest value of the array is "<<biggest<<endl;
cout<<"The smallest value of the array is "<<smallest<<endl;
You can change the array to however many rand numbers you want, given you also change the for loops. This is the basics of this.