Question: Needs to be a C ++ program. The data members for personType are string name; string dob; string eyeColor; float weight; float heightInches; Description For

 Needs to be a C ++ program. The data members for

Needs to be a C ++ program. The data members for personType are string name; string dob; string eyeColor; float weight; float heightInches;

Description For this assignment, you will be dynamically creating an array of pointers to personType's. Data members will identified in class during lecture..... 1. Create an array of person Types that can hold 5 pointers to people. 2. Loop through the array, prompting the user to enter the data as necessary using the corresponding setters. 3. Loop through the array again and print each person's data by row. 4. Finally loop through the array again and deallocate the memory of each person and set the corresponding pointer in the array to null. Run your program for 5 people. Upload the .cpp,.h files along with a screenshot. Ensure to fill out all the data for each person

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!