Solution to apples/oranges problem. The first step is to choose from the jar that is labeled both. What did you get? a (for apple) or o (for orange): Invalid input. Make another choice. What did you get? a (for apple) or o (for orange): You chose an apple, which means that: 1. The jar that is labeled as both is really apples. 2. The jar labeled as oranges is really both. 3. The jar labeled as apples is really oranges. Let's try a different sequence Choose from the jar that is labeled both. What did you get? a (for apple) or o (for orange) or q (for quit): You chose an orange, which means that: 1. The jar that is labeled as both is really oranges. 2. The jar labeled as apples is really both. 3. The jar labeled as oranges is really apples. Let's try a different sequence Choose from the jar that is labeled both. What did you get? a (for apple) or o (for orange) or q (for quit): Invalid input. Make another choice. What did you get? a (for apple) or o (for orange) or q (for quit):