1 2 3 4 5 6 7 8 9 10 11 12 13
#include <stdio.h> int main(/*int argc, char **argv*/) { int a = 0, b = 1, c = 0; do { printf("%d, ", a); a = b + c; c = b; b = a; } while (a < 100); return 0; }