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
What is a global variable in c?
main() { int i = 10; printf(" %d %d %d ", ++i, i++, ++i); }
When we use void main and int main?
What is the difference between the = symbol and == symbol?
sum of two integers values only other then integer it should print invalid input.
Explain what is a static function?
simple program for virtual function?
how does a general function , that accepts an array as a parameter, "knows" the size of the array ? How should it define it parameters list ?
Is using exit() the same as using return?
Difference between Shallow copy and Deep copy?
the maximum length of a character constant can be a) 1 character b) 8 characters c) 256 chaacters d) 125 characters
I need to take a sentence from input and sort the words alphabetically using the C programming language. Note: This is C not C++. qsort and strtok not allowed