Answered You can hire a professional tutor to get the answer.

QUESTION

cpp program that is used to schedule maintenance of the aircraft.

The assignment of Aircraft.cpp program that is used to schedule maintenance of the aircraft. for this assignment two types of aircrafts are used A380 and B737. A380 has 4 engines and its maintenance is due every 750 hours and B737 has two engines and its maintenance is due every 500 hours. the following class and the main program should not be modified and they should compile with Aircraft.cpp with no warnings and errors. An example of input is given below

A D-AIMB 550 400 370 600

B N470WN 410 350

output--

Aircraft: D-AIMB type: Airbus A380 has 4 engines

engine 1: 550 hours

engine 2: 400 hours

engine 3: 370 hours

engine 4: 600 hours

Maintenance schedule for D-AIMB

engine 1: maintenance due in 200 hours

engine 2: maintenance due in 350 hours

engine 3: maintenance due in 380 hours

engine 4: maintenance due in 150 hours

Aircraft: N470WN type: Boeing 737 has 2 engines

engine 1: 410 hours

engine 2: 350 hours

Maintenance schedule for N470WN

engine 1: maintenance due in 90 hours

engine 2: maintenance due in 150 hours

//

// Aircraft.h

//

#ifndef AIRCRAFT_H

#define AIRCRAFT_H

#include<string>

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question