eci/tests/09_do_while.c
2014-01-16 21:52:25 +01:00

21 lines
165 B
C

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