For this assignment, you will be modifying A17 by dynamicallycreating an array of personType‘s which will be an arrayof pointers. So you will have an array of pointers. You will thencreate 5 people using the new instruction within a for loop.
1. Prompt the user for the number of people to create, thencreate an array of personType pointers to hold them.
2. Loop through the array, prompting the user to decide whetherto create a personType, studentType, and professorType and enterthe data as necessary, then use appropriate new constructor.
3. Finally, loop through the array again and call the (virtual)print method for each person.
4.
PayPal Gateway not configured
PayPal Gateway not configured