C program using data structures(queues)

Job ID: 31672396

Budget: ₹600 – ₹1,000 INR

Write a program which simulates the operation of a busy airport which has only two runways to handle all takeoffs and landings. You may assume that each takeoff and landing takes 15 min. to complete. One runway request is made during each five minute time interval and likelihood of landing request is the same as for takeoff. Priority is given to the planes requesting landing. If a request cannot be honored it is added to a takeoff or landing queue. Your program should simulate 120 minutes of activity at the airport. Each request for runway clearance should be time stamped and added to the appropriate queue. The output from your program should include the final queue contents, the number of takeoffs completed, the number of landings completed and the average number of minutes spent in each queue.

Implement in c language.
Two queues should be there one for landing and other for taking off.