update grammar a bit
[jwcc.git] / examples / fib.c
CommitLineData
933e60e3
JW
1int 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;
7e3bbd6a 18}
This page took 0.018718 seconds and 4 git commands to generate.