Select Git revision
loesung-3-9f.c
Forked from
Peter Gerwinski / hp
48 commits behind the upstream repository.
Peter Gerwinski authored
loesung-3-9f.c 243 B
#include <stdio.h>
int main (void)
{
long double f0 = 0;
long double f1 = 1;
for (int i = 0; i < 100; i++)
{
printf ("f[%d] = %.0Lf\n", i, f0);
long double f2 = f0 + f1;
f0 = f1;
f1 = f2;
}
return 0;
}