Skip to content

Instantly share code, notes, and snippets.

@cody271
cody271 / bernoulli.c
Created October 9, 2018 05:41 — forked from sinclairtarget/bernoulli.c
Lovelace's Note G Program in C
#include <stdio.h>
/*
* Calculates what Ada Lovelace labeled "B7", which today we would call the 8th
* Bernoulli number.
*/
int main(int argc, char* argv[])
{
// ------------------------------------------------------------------------
// Data