Course Solutions Uncategorized (Solved) : Flowchart Please Int Main Void Printclassheader Main Program Data String Arr 100 String Fi Q38103469 . . . .

(Solved) : Flowchart Please Int Main Void Printclassheader Main Program Data String Arr 100 String Fi Q38103469 . . . .

 

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

OR

PayPal Gateway not configured

OR

PayPal Gateway not configured

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

(Answered) : Question 40 50 Question Id 542632 Brokers Operate Real Estate License Schools Must Careful Q30694197(Answered) : Question 40 50 Question Id 542632 Brokers Operate Real Estate License Schools Must Careful Q30694197

<p>Question #40 of 50</p><p>Question ID: 542632</p><p>Brokers who operate real estate license schools must be carefulNOT to</p><p>A)</p><p>hire any student who completes the course.</p><p>B)</p><p>violate FREC rules by recruiting during class time.</p><p>C)</p><p>advertise the

Following Payoff Table Provides Profits Based Various Possible Decision Alternatives Vario Q34232661Following Payoff Table Provides Profits Based Various Possible Decision Alternatives Vario Q34232661

<br/><img src="https://media.cheggcdn.com/media%2F20a%2F20a66d77-7c9e-4caf-b95a-e6a631b8310a%2Fimage.png" alt="The following payoff table provides profits based on various possible decision alternatives and various levels of demand at Robert Klassans print shop: Demand DecisionLw Alternative 1 $10,000 $36,000