Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (14 sloc) 235 Bytes
// Comment.
#include <stdio.h>
main() {
int fib, fib1, fib2;
fib1 = fib2 = 1;
printf("%d, %d", fib1, fib2);
do {
fib = fib1 + fib2;
fib1 = fib2;
fib2 = fib;
printf(", %d", fib);
} while (fib < 1000000);
printf("\n");
}