Fibonacci sequence: Difference between revisions
Content deleted Content added
Space Ghost (talk | contribs) |
imported>Arakov |
||
Line 5,626: | Line 5,626: | ||
long n_1 := 1l; |
long n_1 := 1l; |
||
yield |
$yield n_2; |
||
yield |
$yield n_1; |
||
while(true) |
while(true) |
||
Line 5,633: | Line 5,633: | ||
long n := n_2 + n_1; |
long n := n_2 + n_1; |
||
yield |
$yield n; |
||
n_2 := n_1; |
n_2 := n_1; |