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 / sreenu
please send source code for for 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 in c.
| Is This Answer Correct ? | 25 Yes | 16 No |
Post New Answer View All Answers
write a program to perform generic sort in arrays?
Write a simple encryption program using string function which apply the substitution method.
write a program that reverses the input number of n.Formulate an equation to come up with the answer.
write a program using virtual function to find the transposing of a square matrix?
Write a C/C++ program that connects to a MySQL server and displays the global TIMEZONE.
Implement a command console for changing settings on a particular object. The command console should allow you to enter a string and will return the response (very similar to a terminal session). The commands are as follows: SET propertyname=newvalue will change the target object’s member named “propertyname” to have a value equal to “newvalue”. If the input value is incompatible (i.e. an int being set to a string), print out an appropriate error message. GET propertyname will print out the current value of the target object’s member named “propertyname”. GET * will print out a list of all target object members and their current values. The system should be extensible for future commands and should accept an arbitrary object, such that another developer could insert another object into the system and rely on the command console to get and set the properties correctly.
how to diplay a external image of output on winxp by using c & c++,
Performance Algorithm A performs 10n2 basic operations and algorithm B performs 300 lg n basic operations. For what value of n does algorithm B start to show its better performance?
Code for Small C++ Class to Transform Any Static Control into a Hyperlink Control?
write a program to convert temperature from fa height into celcius and vise versa,use modular programming
write a program that prompt the user to enter his height and weight,then calculate the body mass index and show the algorithm used
output for printf("printf");
Code for Two Classes for Doing Gzip in Memory?
How to swap two ASCII numbers?
can you please write a program for deadlock that can detect deadlock and to prevent deadlock.