Problem of the Day
A new programming or logic puzzle every Mon-Fri

Fresh Eggs

You have a carton of 100 eggs. Some are fresh and other are rotten. One fact is that there is at least one fresh egg in that container. It is also true that if you pick two eggs randomly from the carton, at least one of them will be rotten. How many fresh eggs are in the carton?

Enjoy your weekend!

Permalink: http://problemotd.com/problem/fresh-eggs/

Comments:

  • Kevin Benton - 9 years, 7 months ago

    1 is the only way to satisfy the random rotten contract :)

    reply permalink

  • beverku - 9 years, 7 months ago

    Agree, one.

    reply permalink

  • k4rtik - 9 years, 7 months ago

    1 fresh, 99 rotten. Or the random pick statement cannot be always true.

    reply permalink

Content curated by @MaxBurstein