Question: C++ Programming: Create a program that uses 3 parallel arrays (this is required ). The 3 arrays are to contain the first names, last names,
C++ Programming:
Create a program that uses 3 parallel arrays (this is required). The 3 arrays are to contain the first names, last names, and ages read from NamesAndAges.txt
.
Read the file into the 3 arrays and print them in the forward direction (in the order the data was read from the file) and then in the reverse direction.
Create a function called "PrettyPrintName" to print one row of name information (e.g. first name, last name, age). This function must be used inside a loop to print the data in the forward and reverse directions.
Here is a pic of an example executable:

Your output needs to look identical to the above image to receive full credit.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
