Basically I need to create array eleements for an array using rand (). However whenever the code that I provide, the array is filled with the same random array. I am thinking that I need to do somehting with the count++ to get it to repeat. Can someone please help me out?

Code:
 void RandArray (int mainArray[], int count)
 {/*RandArray */
	int minRange;	// the minimum value the user decides for the array
	int	maxRange;	//
...