2) Write a program that will help Air Traffic Control for an
airport to view the sequence of flights ready for take-off.
The airport can accommodate 10 flights waiting for take-off
at any point in time. Each flight has a unique 3 digit
numeric identifier.
 Each time a flight takes-off, Air Traffic Control adds a
flight to the waitlist. Each time a flight is added to the
waitlist, the list of flights waiting to take-off must be
displayed.
 When a flight is cleared for take-off, Air Traffic Control
removes the flight from the waitlist. Each time a flight
takes-off, the list of flights waiting to take-off must be
displayed.
 Sequence of take-off is the sequence of addition to the
waitlist


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

How do you determine whether to use a stream function or a low-level function?

0 Answers  


What is the difference between the expression “++a” and “a++”?

0 Answers  


Why doesnt long int work?

0 Answers  


develop algorithms to add polynomials (i) in one variable

0 Answers   Ignou, TCS,


write a program for odd numbers?

15 Answers  






Write a C++ program to give the number of days in each month according to what the user entered. example: the user enters June the program must count number of days from January up to June

0 Answers  


write a program to generate address labels using structures?

0 Answers   SJC,


the statement while(i) puts the entire logic in loop. this loop is called a) indefinite loop b) definite loop c) loop syntax wrong d) none of the above

0 Answers  


who is first prime minister in india??

8 Answers   Wipro,


Explain what is page thrashing?

0 Answers  


What are register variables in c?

0 Answers  


Write a program to generate prime factors of a given integer?

9 Answers   Microsoft,


Categories