Write a program that takes a 3 digit number n and finds out
whether the number 2^n + 1 is prime, or if it is not prime
find out its factors
Answer Posted / pradeep
I got this question in the test, and have to submit the
solution in 1day. Please help me out. :(
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Can static variables be declared in a header file?
What are keywords c?
What are the modifiers available in c programming language?
what is different between auto and local static? why should we use local static?
How can I insert or delete a line (or record) in the middle of a file?
Why is c used in embedded systems?
What is the most efficient way to count the number of bits which are set in an integer?
Can you mix old-style and new-style function syntax?
write a program that declares an array of 30 elements named "income" in the main functions. then cal and pass the array to a programmer-defined function named "getIncome" within the "getIncome" function, ask the user for annual income of 30 employees. then calculate and print total income on the screen using the following function: "void getIncome ( ai []);
What does it mean when the linker says that _end is undefined?
What are logical errors and how does it differ from syntax errors?
What is define directive?
Write a program to input the price of 1 burger and the number of burgers eaten by a group of friends .print the total amount to be paid by the group?
What is a union?
Write a program to check whether a number is prime or not using c?