Skip to content

Instantly share code, notes, and snippets.

@ssirowy
Created October 4, 2013 17:31
Show Gist options
  • Select an option

  • Save ssirowy/6829600 to your computer and use it in GitHub Desktop.

Select an option

Save ssirowy/6829600 to your computer and use it in GitHub Desktop.
ROTW: 10/4/2013
Multiple parts. You must get all to win ROTW
A) A man is walking down a road with a basket of eggs. As he is walking he meets
someone who buys one-half of his eggs plus one-half of an egg. He walks a little further
and meets another person who buys one-half of his eggs plus one-half of an egg. After
proceeding further he meets another person who buys one-half of his eggs plus one half
an egg. At this point he has sold all of his eggs, and he never broke an egg. How many
eggs did the man have to start with?
B) Sabrina gave Samantha as many dollars as Samantha started out with. Samantha
then gave Sabrina back as much as Sabrina had left. Sabrina then gave Samantha
as back as many dollars as Samantha had left, which left Sabrina broke and gave
Samantha a total of $80.00. How much did Sabrina and Samantha have at the
beginning of their exchange?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment