Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

For this assignment we are going to design a system to schedule flight crews and

ID: 3606002 • Letter: F

Question

For this assignment we are going to design a system to schedule flight crews and aircraft for Mean Green Airlines For this we will need the following entities, plus collections for each of the entities: Plane/Aircraft, Crew Member and Flight. The data for a Plan will contain at least the following Make (e.g. Boeing) Model (eg 737) Tail Number (eg B171A) Number of Seats (eg 137) Range (e.g. 800 miles) Status (out, in, repair) You may add other data needed for your implementation as well as you will need accessor and mutator functions for the data The data for a crew member will contain at least: Name D number Type (Pilot, CoPilot, Cabin) Status (available, on leave, sick) You may add other data needed for your implementation as well as you will need accessor and mutator functions for the data The data for a Flight (The transaction entity) will contain at leat the following Plane ID (Tail number) Pilot ID CoPilot ID Crew IDs for 3 Cabin Crew Members Start Date/Time with TZ End Date/Time with TZ Starting Airport code (3 letters) Ending Airport Code (3 letters) Number of Passengers Status (active, cancelled, completed)

Explanation / Answer

01 #include "product.h" 02 03 #include 04 #include 05 #include 06 07 using namespace std; 08 09 Product::Product() 10 { 11     plu = 0; 12     productName = "none yet"; 13     type = 0; 14     price = 0; 15     inventory = 0; 16 } 17 Product::Product(int pl, string pn, int t, doublepr, double i) 18 { 19     plu = pl; 20     productName = pn; 21     type = t; 22     price = pr; 23     inventory = i; 24 } 25 int Product::getPLU() 26 {   return plu;} 27 28 string Product::getProductName() 29 {   return productName;} 30 31 int Product::getType() 32 {   return type;} 33 34 double Product::getPrice() 35 {   return price;} 36 37 double Product::getInventory() 38 {   return inventory;} 39 40 double Product::updateInventory(double quantity) 41 {     if (quantity > inventory)         cout
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote