Flowchart for this please.
int main(){
void printclassheader();
///main program data
string arr[100];
string filename; //NAME of input file
string name; //NAME of people on input file
ifstream in; //FILE OPEN
cout<<“What input file would you like to use?”;// ask user which file to be opened
cin>>filename;
ifstream fin(filename.c_str()); //file open
if(!in)
{
cout<<“file not openedn”;
return 0;
} // file unable to open
int count=0;
cout<<“nnReading records from input file”<<filename<<“nn”;
while(!in.eof())
{
in>>arr[count++];
}
while(1){
int occurrence=0;
cout<<“who do you want to search for (enterdone to exit)? “;
cin>>name;
if(name==”done”)break;
for(inti=0;i<count;i++){
if(arr[i]==name)occurrence++;
}
if(occurrence==0){
cout<<name<<“‘s name does not exist inthe listnn”;
}
else cout<<“There is”<<occurrence <<” instances of name”<<name<<“nn”;
}
cout<<“Thank
PayPal Gateway not configured
PayPal Gateway not configured