Skip to content

Instantly share code, notes, and snippets.

@elizaaverywilson
Last active August 29, 2015 14:01
Show Gist options
  • Select an option

  • Save elizaaverywilson/54bd352e471217b05c28 to your computer and use it in GitHub Desktop.

Select an option

Save elizaaverywilson/54bd352e471217b05c28 to your computer and use it in GitHub Desktop.
fifties;
twenties;
value;
while (value > 0) {
if ((value / 10) % 2) {
while (value > 0) {
value - 20;
twenties++;
}
} else {
value - 50;
fifties++;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment