Important to follow the RULES. see attached doc. or below
You will be using classes and objects, and appropriate member functions, constructors, destructor, etc. to handle the tasks outlined below.
The class will be named Car and will contain the following data members (in the private access region):
Manufacturer - Car Manufacturer
Model - Car Model
Type - Car Disk Type
Price - Car Price
Serial Number - Car Serial Number
Warranty - Car Warranty period
Rebate - Car Rebate, if any
You will determine the type of data to be used for each data member.
After the declaration of the class, declare two objects for the class Car named Car1 and Car2. Initialize Car1 via the class constructor, using specifications for the Car1. Prompt the user to provide the necessary data for the Car2. The default constructor will be used initially for Car2. The program will then display the information about the Cars in a tabulated format as shown below. You will need to define and implement all of the needed accessor and mutator member functions. No global functions
Use meaningful prompts, for name of characters, strings, etc.
. NO global declarations allowed, except for the class and function prototypes.
. Use classes, member functions, date members, and strings.
. Full member -function prototyping is required. Member functions must have their purposes fully explained.
. No member function should be defined within a class (i.e., no body of the member function should be seen inside any class)
. Make sure to use constructor(s) and destructors for the class. The class may have more than one constructor.
. Parameter passing to functions will be by value, and return value from functions will be as specified in the member function prototypes.
. Use data types as specified in the member function prototypes.
Use Microsoft Visual C++ .NET 2010 compiler using default compiler settings.
Adherence to the ANSI C and ANSI C++ required.
. Do not use <stdio.h> and <conio.h>
Do not use any #define in your program until the time that is required for class declaration header files.
No goto statements allowed