Skip to content

Instantly share code, notes, and snippets.

@chuckha
Created February 4, 2016 04:31
Show Gist options
  • Save chuckha/356d65400d4b463f5214 to your computer and use it in GitHub Desktop.
Save chuckha/356d65400d4b463f5214 to your computer and use it in GitHub Desktop.
int f = 0;
int g = 1;
for (int i = 0; i <= 15; i++)
{
StdOut.println(f);
f = f + g;
g = f - g;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment