update grammar a bit
[jwcc.git] / examples / fib.c
1 int main()
2 {
3         int a = 1;
4         int b = 1;
5         int iters = 0;
6         
7         printint(a);
8         while (iters < 15)
9         {
10                 int tmp;
11                 tmp = a + b;
12                 a = b;
13                 b = tmp;
14                 printint(a);
15                 iters = iters + 1;
16         }
17         return iters;
18 }
This page took 0.017717 seconds and 4 git commands to generate.