cout<<"\n blue team has won "<<b_cnt;
cout<<"\n \n red team has won "<<r_cnt;
cout<<"\n \n their have been "<<t_cnt<<"tie games \n";
cout<<"end";
getch();
return 0;
void read( char &blue, char &red)
{
cout<<"\n\n Team Blue enter an option : ";
cin>>blue;
cout<<"\n\n Team Blue enter an option : ";
cin>>red;
return;
}
//******************************************************************************
void get_data (char &blue, char &red)
{
cout<<"Team blue enter a choice \n";
cin>>blue;
if( blue!='Q')
{
cout<< "Team red enter a choice \n";
cin>>red;
if( red=='Q')
cout<<"Team red has quit \n";