Question: Write a code for the following problem using c++. Please show your output screen Exercise P7.2. Implement a class Person with two fields name and
Exercise P7.2. Implement a class Person with two fields name and age, and a class Car with three fields: the model a pointer to the owner (a Person*) e a pointer to the driver (also a Person*) Write a program that prompts the user to specify people and cars. Store them in a vectorPerson, and a vector
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
