Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Design Application Development And Administration

Authors: Michael V. Mannino

4th Edition

0615231047, 978-0615231044

More Books

Students also viewed these Databases questions

Question

Prepare for a successful job interview.

Answered: 1 week ago

Question

Describe barriers to effective listening.

Answered: 1 week ago

Question

List the guidelines for effective listening.

Answered: 1 week ago