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

Problem Description: c++ programming The Flying Traveller Airline Company (FTAir

ID: 3836863 • Letter: P

Question

Problem Description:

c++ programming
The Flying Traveller Airline Company (FTAir) wants a program to process customer requests to fly from some origin city to some destination city. For each customer, indicate whether a sequence of FTAir flights from the origin city to the destination city exists and produce the itinerary – sequence of flights. Input: Three input text files that specify all the flights information as follow:

• The names of cities that FTAir serves (at least 15 cities).

• Pairs of city names; each pair represents the origin and destination of one of FTAir’s flights.

• Pair of city names; each pair represents a request to fly from some origin city to some destination (at least 5 requests with different scenarios). Each request considered a one-way flight.

Rules:

• Find a path from origin city to destination city, if exists.

• Maintain information about the order in which it visits the cities.

• Do not visit a city more than once.

• If there are multiple paths, you may list them all and find least visited cities. (optional).

note

-using stack and recursion2 in one program

-linked list

Explanation / Answer

#include 02 #include 03 using namespace std; 04 05 void show_seatChart( const int* seat_array ); 06 int reserve_seat( int* seat_array, int section ); 07 08 int main() 09 { 10       // Variables declarations 11       const int SEATS = 20; 12 13       int seat_number[ SEATS ] = { 0 }, section, choice, seat; 14 15       do 16       { 17              // prints the current seat chart. 18              show_seatChart( seat_number ); 19              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