Code
Code
The assumptions that we made here is that the club need to manage recruitment process of its players
The applicant must have reached a certain age group to qualify say 15 years.
The applicant must have played a minimum number of tournaments from the previous club
The applicant must pay an application fee of $250, if the applicant does partial payment,
*/
#include<iostream>
#include<string>
#include<fstream>
int main ()
string surname,name,next_of_kin,address,previous_club;
double amount,day,month,year,number_of_tournaments;
int i;
if (Five_aside.is_open())
for(i=1;i<=3;i++)
{cout<<"enter surname "<<endl;
cin>>surname;
cin>>name;
cout<<"day\n";
cin>>day;
cout<<"month\n";
cin>>month;
cout<<"year\n";
cin>>year;
cin>>next_of_kin;
cin>>address;
cin>>previous_club;
cin>>number_of_tournaments;
cin>>amount;
Five_aside<<surname<<"\n"<<name<<"\n"<<day<<"-"<<month<<"-"<<year<<"\n"<<
next_of_kin<<"\n"<<address<<"\n"<<previous_club<<"\n"<<number_of_tournaments<<"\n"<<amount<
<"\n\n";
if ((month>6)&&(year)>=2005)
if(amount>=40)
if(number_of_tournaments<5)
cout<<"_______________________________________________________________________________
__________________________\n";
Five_aside.close();
string club;
ifstream display("soccer.txt");
if(display.is_open())
cout<<club<<"\n\n";
display.close();