Skip to content

Instantly share code, notes, and snippets.

@cecyurbina
Created February 21, 2012 01:55
Show Gist options
  • Save cecyurbina/1872906 to your computer and use it in GitHub Desktop.
Save cecyurbina/1872906 to your computer and use it in GitHub Desktop.
#include <stdio.h>
int main(int argc, char** args){
int i;
long a, b, c;
a = 1;
b = 0;
for(i = 0; i <= 50; i++){
c = a + b;
printf("%ld\n", c);
a = b;
b = c;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment