Ok so I'm pretty lost in this programming class, I have to write a program for PowerBall, where the user enters a date and the number of people playing and the program outputs 6 random numbers for each person. This is what I've got so far (try not to laugh!)

Code:
#include <iostream>
#include <string>
#include <cstdlib>
#include <fstream>

using namespace std;

//declare variables
string dateNum;
int participants;
int rand1, rand2, rand3, rand4, rand5, PB;

void getInfo ();
void generateRandom ();

int main ()
{
	getInfo();
	generateRandom ();
	cout<<dateNum<<endl;
	cout<<rand1<<" "<<rand2<<" "<<rand3<<" "<<rand4<<" "<<rand5<<"     "<<PB<<endl;
	return 0;
}
void getInfo()
{
	//get information from user
  	cout<<"Enter date of lottery: (mm/dd/yy): ";
	cin>>dateNum;
	cout<<endl;
	cout<<"Enter number of participants: ";
	cin>>participants;
	cout<<endl;
}

void generateRandom ()
{
	//generate random numbers
	for(participants= 1; participants <= 25; participants++)
	{
		rand1 = (rand()%49)+1;	
		rand2 = (rand()%49)+1; 	
		rand3 = (rand()%49)+1;	
		rand4 = (rand()%49)+1;	
		rand5 = (rand()%49)+1;	
		PB = (rand()%49)+1;	
	}
}
But I can't get it to loop based on the number of participants. Thanks so much in advance!!