Question: 2. Write C++ program that has a class of car, create getdata() function to get information of three cars including name, price, and company, enter

2. Write C++ program that has a class of car, create getdata() function to get information of three cars including name, price, and company, enter information for each car using 3 objects. Create print() member function outside class to print a selected car information
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
