fib.c (193B)
1 int fib(int n) { 2 int a = 0; 3 int b = 1; 4 int z = 0; 5 while (n != z) { 6 int t = a + b; 7 a = b; 8 b = t; 9 n = n - 1; 10 z = 0; 11 } 12 return a; 13 } 14
![]() | compilerUnnamed Compiled Systems Language Project |
git clone http://frotz.net/git/compiler.git | |
Log | Files | Refs |