Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Fibonacci
//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) { //Your code goes here Console.WriteLine("Hello, world!"); int input = 8; int t1 = 0, t2 = 1, nextTerm = 0; for(int i=1; i < input; i++) { Console.WriteLine(t1); nextTerm = t1 + t2; t1 = t2; t2 = nextTerm; } } } }
run
|
edit
|
history
|
help
0
7
New House Exam 11 April
Primes
Get Bytecent Price in $USD
Gerador de Matriz Data
Set Get
array with c#
Collections
asd
Exception