Question: In C++ 12. Make a function called outfile Array. To this function, you will pass either the male or female array. It will output the
12. Make a function called outfile Array. To this function, you will pass either the male or female array. It will output the last and first names of all the employees from the array to the output file the user specifies in the following format. Declare, Open and close the output file within this function. Sample Run Enter the output file name: male.dat male.dat Asimov, Issac Bogart, Humphry 13. Test outfileArray with the male array. Make sure your output file has all the male employees. 14. Test outfileArray with the female array. Make sure your output file has all the female employees
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
