Skip to content
Snippets Groups Projects
Select Git revision
  • 2023ss
  • 2024ss default
  • 2022ss
  • 2021ss protected
4 results

test-cp850.txt

Blame
  • loesung-1-2.c 221 B
    #include <stdio.h>
    
    int main (void)
    {
      int f[50];
      f[0] = 0;
      f[1] = 1;
      for (int i = 2; i < 50; i++)
        f[i] = f[i - 2] + f[i - 1];
      for (int i = 0; i < 50; i++)
        printf ("f[%d] = %d\n", i, f[i]);
      return 0;
    }