Implement a class Person with two fields name and age, and a class Car with three fields:
(1). the model, (2). a pointer to the owner (aPerson*), (3). a pointer to the driver (also a Person)
Write a program that prompts the user to specify people and cars. Store them in a vector<Person*> and a vector<Car*>. Traverse the vector of Person objects and increment their ages by one year. Finally, traverse the vector of cars and print out the car model, owner’s name and age, and driver’s name and age.
this is the problem that i want to solve anyone can tell me how to start bcoz tomorrow i have to submit this i am waiting plz tell me
Edited 5 Years Ago by AliRaiz: n/a