• Write a program, using a class, for a 2 dimensional point in space i.e. has x and y coordinate. Include getter, setters, constructors. Create a class for a 3 dimensional point by deriving from the 2 dimensional class. Again include getter, setters, constructors. Write a small main class to test your classes.
  • Write a C++ programme that will have a base class that includes a pure virtual function. The base class will have 2 variables for an initial value and a converted value and at least 2 accessor functions. The derived classes will allow us to convert miles to km, km to miles, euros to sterling and sterling to euros. Write a main programme to test the classes and functions.
  • Write a C++ programme to implement the following class hierarchy and write code to check the classes and functions. Also use the this pointer in your programme. See image.
  • The VEHICLE class should have a member variable for colour. The CAR class will have the number of airbags. The TRUCK class will have a tonnage. The COMPANY class will have a driver
Academic Honesty!
It is not our intention to break the school's academic policy. Projects posted are only used as a reference and should not be submitted as is. We are not held liable for any misuse of the solutions. Please see the frequently asked questions page for further questions and inquiries.
Kindly fill out the form. Please provide a valid email address and we'll get back to you in less than 24 hours. We will be sending an invoice through PayPal upon confirmation. We are a non profit organization however we need an amount to keep this organization running, and to be able to complete our research and development.