In this problem you are to write a program that will cut
some number of prime numbers from the list of prime numbers
between 1 and N.Your program will read in a number N;
determine the list of prime numbers between 1 and N; and
print the C*2 prime numbers from the center of the list if
there are an even number of prime numbers or (C*2)-1 prime
numbers from the center of the list if there are an odd
number of prime numbers in the list.
No Answer is Posted For this Question
Be the First to Post Answer
Write a program to check prime number in c programming?
What is auto keyword in c?
How do we print only part of a string in c?
c program to manipulate x=1!+2!+3!+...+n! using recursion
wat is the difference between a definition and declaration? float y;---it looks like a declaration..but it s a definition.how?someone explain
Suggesting that there can be 62 seconds in a minute?
Where are the auto variables stored?
What is C language Terminator?
How are portions of a program disabled in demo versions?
macros and function are related in what aspect? a)recursion b)varying no of arguments c)hypochecking d)type declaration
12 Answers HCL, Infosys, Microsoft,
why Language C is plateform dependent
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