Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

The Database Factory Active Database For Enterprise Computing

Authors: Schur, Stephen

1st Edition

0471558443, 9780471558446

More Books

Students also viewed these Databases questions

Question

4. Describe the role of narratives in constructing history.

Answered: 1 week ago

Question

1. Identify six different types of history.

Answered: 1 week ago