#include int fib(int n) { int a = 0; int b = 1; for (int i = 0; i < n; i++) { int temp = a + b; a = b; b = temp; } return a; } int main() { for (int i = 0; i < 12; i++) { printf("fib(%d) = %d\n", i, fib(i)); } return 0; }