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

IS Array list is generic or non generic

1 Answers  


program for addition of fraction(M/N + P/Q = Y/Z)

1 Answers   Mind Tree,


. Write a program to print the following outputs using for loops $ $ $ $ $ $ $ $ $ $ $ $ $ $ $

3 Answers  


How to Link Different Data Sources Together?

0 Answers  


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,






Can you declare an array of mixed Types?

1 Answers   HCL,


how does the below eqation proceed to be solved: x*=y+z options: x=x*y+z or x=x*(y+z)

1 Answers  


program to check if a number is "perfect number".

1 Answers   Mind Tree, SoftSol,


Hello Sir, Thanks for the Solution but, can you pls. Explain the coding for the Static Function & static variable from the below coding....waiting for Ans. class fact { public static void Main() { fact f=new fact(); int x=1; //Declaration of x as 1 int k=Convert.ToInt32(Console.ReadLine()); for(int i=1;i<=k;i++) { x= x *i; } System.Console.WriteLine(x); } }

0 Answers  


Give the code for Handling Mouse Events?

0 Answers  


working with arrays

1 Answers  


Write a program to input an integer and - display the reverse - display the sum of each digit - should include logic that considers the input number as any number of digits long

2 Answers   Mind Tree,


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)