Question: Write a c++ main () function out of the code below that creates an instance object of Auto called Car, which has the following initial

Write a c++ main () function out of the code below that creates an instance object of Auto called Car, which has the following initial data: there is a quantity of five(5) on inventory, and two(2) on reorder; the price per unit is $15,545.91, and the description is that of a four-wheel drive truck, obtained from the GM. Initializethe object Car, and print out all its vital facts.

Write a c++ main () function out of the code below that

3 of 5 Automatic Zoom ; // first derived class using namespace std; class Auto , public Inventory private string manufacturer; public Auto (int q, int r, double p, string d, string man); Auto O void printo; string getManufacturer Auto: :Auto (int anyQuan, int anyReorder, double anyPrice, string anyDescrip, string nayManufactureer) : Inventory (anyQuan, anyReorder, anyPrice, anyDescrip) // calls base constructor manufacturer-nayManufactureer Auto void Auto::print) ( cout

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!