Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Can static variables be declared in a header file?

1062


What are keywords c?

1032


What are the modifiers available in c programming language?

1224


what is different between auto and local static? why should we use local static?

1128


How can I insert or delete a line (or record) in the middle of a file?

1022


Why is c used in embedded systems?

1124


What is the most efficient way to count the number of bits which are set in an integer?

1066


Can you mix old-style and new-style function syntax?

1102


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 []);

2366


What does it mean when the linker says that _end is undefined?

1099


What are logical errors and how does it differ from syntax errors?

1306


What is define directive?

1158


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?

1056


What is a union?

1038


Write a program to check whether a number is prime or not using c?

1060