Guys , please help me about my assignment in Programming. I need to make a code for this output of Fibonacci Seried of #.
---Fibonacci Series of #--
Enter the 1st series:
Enter the 2nd series:
Enter the # of series to display:
The nth series is:
Thank you for your help.
Help me . Fibonacci Series on C#
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Joginder BangerRank #360 · 7K reputationPosted Nov 12, 2014, 1:42 AM EST
This program run in console based application.
class Program { public static int Fibonacci(int n) { int a = 0; int b = 1; // In N steps compute Fibonacci sequence iteratively. for (int i = 0; i < n; i++) { int temp = a; a = b; b = temp + b; } return a; } static void Main() { for (int i = 0; i < 15; i++) { Console.WriteLine(Fibonacci(i)); } } }VulpesRank #55 · 29.2K reputationPosted Nov 12, 2014, 1:44 AM EST