Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Problem: fb_series
//Rextester.Program.Main is the entry point for your code. Don't change it. //Compiler version 4.0.30319.17929 for Microsoft (R) .NET Framework 4.5 using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public class Program { public static void Main(string[] args) { int a = 1, b = 0, c = 0, nth, i; Console.WriteLine("Please Enter The Term Number: "); nth = Convert.ToInt32(Console.ReadLine()); for (i = 1; i <= nth; i++) { c = a + b; a = b; b = c; } Console.WriteLine("The " + nth + " term in Fibonacci series is: " + c); Console.ReadKey(); } } }
run
|
edit
|
history
|
help
0
Random number string changer
12 და 14 მარტს დამუშავებული
s
testing DT Serialization
frgthyji8u7ytgfd
C# Calculator Simple
NEVERMIND
Print 1 to 100 without using loop
Date Example
memes