C | Ah, alas, we are here.

/ 11 Sept 2013 /
Here is my first C program. I KNOW. Ok, i'm gonna attempt to write the fib sequence, without any help, in C, I know it in python, so it won't be that hard, but yes. This is great.



#include <stdio.h>

main() 
{
 printf("\n");
 
 int a = 1, b = 100;
 while(a < b)
 {
  printf(" %d\n", a);
  a *= 2;
 }
 
 return 0;
}
 
Copyright © 2010 M(ath)+me, All rights reserved