Computer Science, asked by BrightBlueEyes123, 10 months ago

You have 3 baskets, one with apples, one with oranges and one with both apples and oranges mixed. Each basket is closed and is labelled with ‘Apples’, ‘Oranges’ and ‘Apples and Oranges’. However, each of these labels is always placed incorrectly. How would you pick only one fruit from a basket to place the labels correctly on all the baskets?

help

Answers

Answered by akshitmanik
0

Answer:

take a piece of fruit from the Apples and Oranges basket. if it is an apple then you know that is the apples basket since all the baskets are labelled wrong. this means the basket marked apples must be oranges and the basket marked oranges must be apples and oranges.

Similar questions