eci/tests/08_while.c
2014-01-16 21:52:25 +01:00

20 lines
160 B
C

#include <stdio.h>
int a;
int p;
int t;
a = 1;
p = 0;
t = 0;
while (a < 100)
{
printf("%d\n", a);
t = a;
a = t + p;
p = t;
}
void main() {}