Question: It is very important that you read the notes at the end of each assignment for this and all other assignments. Make sure that you

 It is very important that you read the notes at the

It is very important that you read the notes at the end of each assignment for this and all other assignments. Make sure that you read related lessons, slides, the notes, and the sample programs. Study the exercises, and study program examples in the book. These are all prerequisites for better understanding of the classes, objects, and messages. This assignment covers classes, and strings (refer to chapters 10, 11, 12, and 14 in the assigned text and the related sample programs and the notes discussed in the class). Enough flexibility are provided for you to apply your knowledge of the basic Ct+ programing to develop a solution with enough information and documentation as needed for this assignment. Develop the program model of the problem you are developing. This is different from the flowcharting you have been doing throughout the semester. Make sure the program model reflects the problem statement. You then need to develop a C++ program to solve the problem stated by you. Define a class Automobile with appropriate data member(s) and member functions (at least constructors and a destructor for each class.) Define the class Truck derived from the class Automobile that will add data members for the manufacturer and model year and member functions (at least constructors and destructor for the class.) Define the class SUV derived from the class Automobile that will add data members for the manufacturer and the color and member functions (at least constructors and destructor for the class.) You will create an object of the class Truck and an object of the class SUV using the default constructors and constructors with arguments. The default constructors initialize the two objects T1 (Truck Object) and S1 (SUV Object). An overloaded constructors will obtain the appropriate data from the keyboard and create objects T2 (Truck Object) and S2 (SUV Object). The program will then display the information using the function display Automobile() to display the information in the format shown below. Manufacturer Model year Manufacturer Color Once the information is displayed, the program ends. Other member functions for the classes are defined by the programmer and as a minimum will include constructors, destructors, accessor, and mutating functions. User-defined functions will be used as needed to solve your problem. This program leaves out a few options for you to select

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!