Skip to content

Instantly share code, notes, and snippets.

@lyntco
Last active August 29, 2015 14:07
Show Gist options
  • Save lyntco/f0e10496f62aae225c43 to your computer and use it in GitHub Desktop.
Save lyntco/f0e10496f62aae225c43 to your computer and use it in GitHub Desktop.
Quiz - Happy Birthday

Happy Birthday

Write a program that asks what year a person was born in, then the month, then the day.

Figure out how old they are and give them a cake for each birthday they have had.

Extensions

  1. Give them a cupcake for how many months old they are.
  2. Give them a crumb for how many days old they are.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment