Question: IN C + + you will develop a program that acts as a simple air traffic control simulator with one runway for landing and taking

IN C++
you will develop a program that acts as a simple air traffic control simulator with one runway for landing and taking off. First, your program reads the simulation parameters: time length, landing time, takeoff time, landing arrival rate, and takeoff arrival rate. After running the simulation, your program will output the number of airplanes landed, the number of airplanes took off, average waiting time for landing, average time for taking off, and the number of airplanes were denied for landing and the number of airplane were denied for taking off. The above are basic requirements of this project (100%). You can make 110% percent if you change this simulation from one runway to two runways: one for landing and other for taking off. Notice: you have to make some modifications on the runway class so that the class can be used for either landing or taking off.
Your program output may look like if two washing machine in your program: 3. You may use the queue template or your own queue class. 7. You should use class to address the Object Oriented Design and Programming.
Enter the simulation length: 1000
Enter landing time for an airplane: 20
Enter taking off time for an airplane: 25
Enter landing arrival rate: 0.1
Enter taking off arrival rate: 0.2
Number of airplanes were landed: 50
Average waiting time for Landing was: 10
Number of airplanes were took off: 40
Average waiting time for taking off was: 34
Number of airplanes were denied for Landing: 50
Number of airplanes were denied for taking off: 160
Would you do it again (y/n): y
Show simulation results that look like the above... ...
Would you do it again (y/n): n
Thank for using this program! Bye.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!