CEMC Banner

Problem of the Week
Problem B and Solution
Go With the Flow

Problem

A complete description of the flowchart follows.

  1. Raj leaves school first, then Bharti, then Kylie. If they each take the same route and walk at the same speed, which item will each friend bring to Codey’s treehouse?

  2. How could you modify the flow chart so that each friend has to go to only one store?

Solution

  1. Since Raj leaves school first, he will arrive at Ji’s Juice Shop first so will pick up the juice. Bharti leaves school next, so she will first go to Ji’s Juice shop, but since the juice was already picked up, Bharti will then go to Poppy’s Corn Hut and pick up the popcorn. Kylie leaves school last so she will first go to Ji’s Juice Shop. Since the juice was already picked up, she will then go to Poppy’s Corn Hut. Since the popcorn was already picked up, she will then go to Charlie’s Factory and pick up the chocolate bar.

    So, Raj will bring the juice, Bharti will bring the popcorn, and Kylie will bring the chocolate bar to Codey’s treehouse.

  2. To modify the flow chart, we could assign each friend to a particular item. There are many ways to do this, but one way is shown in the flow chart below.

    A complete description of the flowchart follows.