Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Fibonacci 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=0, b=1, c=0 ; for(int i=0 ; i<10 ; i++) { Console.WriteLine(c); a=b; b=c; c=a+b; } } } }
run
|
edit
|
history
|
help
0
jjj3
GFV SDXZASX
ByVal
iran
Foreach
C# first code
Test1
n th to last element
gen retuen obj
Print("This is a Test")