Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 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 personStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started