| Author: Khemraj 15 Jul 2008 | Member Level: Gold | Rating: Points: 4 |
If A orders coffee, then B orders the drink and C orders tea. If B orders Coffee, then A orders the drink and C doesn't order. If C orders tea, then A orders the drink that B orders coffee.
in this way C orders same think or drink after dinner.
|
| Author: Ankush Das 16 Jul 2008 | Member Level: Diamond | Rating: Points: 5 |
A,B and C often eat dinner out.
1. Each orders either coffee or tea after dinner. 2. If A orders coffee, then B orders the drink that C orders. 3. If B orders coffee, the A orders the drink that C doesn't order. 4. If C orders tea, then A orders the drink that B orders.
Who do you know always orders the same drink after dinner?
The answer is C and A. C orders tea after every dinner and A orders coffee after every dinner.
|
| Author: Prabhakar 16 Jul 2008 | Member Level: Gold | Rating: Points: 6 |
A,B and C often eat dinner out. 1. Each orders either coffee or tea after dinner. 2. If A orders coffee, then B orders the drink that C orders. 3. If B orders coffee, the A orders the drink that C doesn't order. 4. If C orders tea, then A orders the drink that B orders. Who do you know always orders the same drink after dinner?
In the first case C orders Tea. In the second case also C orders Tea. How ever in the third case C orders coffee. So always C orders the same drink that is TEA.
|
| Author: ranganathan 16 Jul 2008 | Member Level: Gold | Rating: Points: 6 |
Ok guys i will explain it
from the condition 1 and 2 we have six possibilities.
A orders B orders C orders 1. coffee coffee coffee 2. coffee tea tea 3. tea coffee coffee 4. tea tea tea 5. tea coffee tea 6. tea tea coffee
Then from condition 3 , cases 1 and 5 are eliminated and form condition 4 cases 2 and 5 are eliminated. So you know A always orders the same drink tea after dinner.
|