Answered step by step
Verified Expert Solution
Question
1 Approved Answer
For this assignment you will be building a vehicle fleet management system using object oriented programming techniques. Each problem will have you adding functionality to
For this assignment you will be building a vehicle fleet management system using object oriented programming techniques. Each problem will have you adding functionality to the fleet management system. 1. Create a Car class. A car should have a make (string), a model (string), and a VIN number (long). Create a Boat class. A boat should have a name (string), and a cargo size (double). Create an Airplane class. An airplane should have a manufacturer (string) and a serial number (long). Each lass should also define a void Status0 function which prints out information about that object. Use the following main function and make sure the output matches the expected output indicated by the comments. int main() Car carf "Tesla", "S", 12345L Boat boat "Mayflower", 7.5 Airplane plane "Boeing", 98765L // (should print) Car: Make - Tesla, Model - S, VIN-12345 car.Status (); // (should print) Boat: Name Mayflower, Cargo 7.5 boat.StatusO //(should print) Airplane: Manufacturer -Boeing, Serial 98765 plane.Status)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started