c# coding 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 not using the Big-integer
and Exponential Function's.



c# coding for a program that takes a 3 digit number n and finds out whether the number 2^n + 1 is ..

Answer / sreejesh1987

Me too want the code for this...

Is This Answer Correct ?    5 Yes 4 No

Post New Answer

More C Sharp Code Interview Questions

I am developing a web application using google map api.I want to update the map inside the div control within update panel. I got other controls updated but map doesn't get updated.I do not not want to update map whenever unnecessary controls are fired at server side.How could it be achieved?

0 Answers  


How to add a value from textBox over an existing certain column in SQL Server

0 Answers  


Write a program which has a function and that function should take 2 or 3 or any number of strings and it should return the largest common prefix of all those strings. If there is no common prefix it should return an empty string. for eg:- INPUT OUTPUT glo {glory,glorious,glod} gl {glad,glow} {calendar,phone} empty string

2 Answers   Mind Tree,


How to find No of classes,Packages,No of Methods per Classes and Depth of Inheritance for selecting source code in windows form application using c# .net? (Source code is input Program. It may be Java or .net) Please help me..) Thanks..)

0 Answers  


program to reverse the order of words in a string.

2 Answers   Mind Tree,






Write a program to count 3Letter, 4Letter and 5Letter words from a file and print the number of 3Letter, 4Letter and 5Letter words. Delimiter is space, tab, hifen. Also we should not consider the line in the file after we encounter # in that line.

0 Answers   Mind Tree,


How to Link Different Data Sources Together?

0 Answers  


c# code to Count number of 1's in a given range of integer (0 to n)

0 Answers  


program for string reverse(eg:- i am boy -> boy am i)

8 Answers   Black Pepper, Infosys, Mind Tree,


working with arrays

1 Answers  


Event Handling in C# Triggering a Button

1 Answers  


c# coding 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 not using the Big-integer and Exponential Function's.

1 Answers   TCS,


Categories
  • ASP.NET Code Interview Questions ASP.NET Code (46)
  • VB.NET Code Interview Questions VB.NET Code (9)
  • C Sharp Code Interview Questions C Sharp Code (51)
  • ADO.NET Code Interview Questions ADO.NET Code (8)