Skip to content

Instantly share code, notes, and snippets.

View jonenzl's full-sized avatar

Jonathan Ellis jonenzl

View GitHub Profile
@jonenzl
jonenzl / fibonacci.c
Created June 6, 2017 05:04
A program to display the Fibonacci sequence, characterised by the fact that every number after the first two is the sum of the two preceding ones
/****************************************************************************
* fibonacci.c
*
* Display the Fibonacci sequence, characterised by the fact that every number
* after the first two is the sum of the two preceding ones
***************************************************************************/
#include <stdio.h>
int main(void)