Implement a simulation using two queues one each for the


Problem

An airport has only one runway. When it is busy, planes wishing to take off or land have to wait. Implement a simulation, using two queues, one each for the planes waiting to take off and land. Landing planes get priority. The user enters commands takeoff flightSymbol, land flightSymbol, next, and quit. The first two commands place the flight in the appropriate queue. The next command finishes the current takeoff or landing and enables the next one, printing the action (takeoff or land) and the flight symbol.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Implement a simulation using two queues one each for the
Reference No:- TGS02636949

Expected delivery within 24 Hours