Create arrays name and age create varaible record counter create ifstream inFile create ofstream outFile open InFileName if infile is open set record_counter equal to function ReadData close infile if outfile is open run function WriteOutputFile run function PrintTotalAndSummary close outFile else display "Trouble Opening: ", OutFileName display **About to EXIT NOW!** else display "Trouble Opening: ", InFileName display **About to EXIT NOW!** return 0 create function ReadData set int variable counter to 0 input values in arrays into inFile. While !inFile.eof output values from name array and age array and format it on screen. set infile to name array and age array. create function WriteOutputFile write outfile "Here is the output file" create for loop to write data from name and age into the file. Format data in loop. create function PrintTotalsAndSummary display "Total Records: ", totalrecords, "The End" store in outFile "Total Records: ", totalrecords, "The End"