# Ann's dress' color

Ann, Carol, Eve are friends. Ann wearing blue if only eve wearing red.  Ann and carol can wear red but not on the same day.  Carol and eve can wear blue both not on the same day.  Find Ann's dress' color?
###### Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Commented:
Hi shilpi84,

Blue

If she wears red, carol cannot wear red ... so carol must wear blue. If carol wears blue, eve has to wear red. If eve wears red, then Ann has to wear blue.

Cheers!
Sunnycoder
0
Computer Integration SpecialistCommented:
Ann BLUE  Eve RED
Ann RED Carol RED (not same day)
Carol BLUE Eve BLUE (not same day)

If Ann wears BLUE, then Eve wears RED.  If Eve wears RED, then Carol Must wear BLUE

Since there is no restriction on the color Carol wears, and can still wear BLUE.
0
Commented:
Total cases ar 2*2*2 = 8
Ann   Carol   Eve
1  Blue   Blue    Blue (Not Possible as 1. Ann wearing blue if only eve wearing red.  2. Carol and eve can wear blue both not on the same day.)
2  Blue   Blue    Red (POSSIBLE)
3  Blue   Red    Blue (Not Possible as Ann wearing blue if only eve wearing red.)
4  Red   Blue    Blue (Not Possible as Carol and eve can wear blue both not on the same day.)
5  Blue   Red    Red (POSSIBLE)
6  Red   Red    Blue (Not possibel as Ann and carol can wear red but not on the same day.)
7  Red   Blue    Red
8  Red   Red    Red (Not possibel as Ann and carol can wear red but not on the same day.)

Ann wearing blue if only eve wearing red.  Ann and carol can wear red but not on the same day.  Carol and eve can wear blue both not on the same day.

Case 2 and Case 5 are possible which concludes that Ann Wears BLUE

But I think case 7
Ann   - Red
Carol - Blue
Eve    - Red

Seems also possible as

Carol and eve can wear blue both not on the same day. (Condition Satisfied)
Ann and carol can wear red but not on the same day.    (Condition Satisfied)
Ann wearing blue if only eve wearing red. (Sattement is contradictory ...only eve wearing red.... means Ann including or excluding)

IF excluding then is is impossible but if we include Ann then is seems possible

0

Experts Exchange Solution brought to you by

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Commented:
Green,

after all, that would seem far less complicated.
0
Computer Integration SpecialistCommented:
cool. thank you!
0
###### It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Miscellaneous

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.