Harold is standing in front of a flower bed that contains six flowers, as illustrated in Figure 1-13. Create an algorithm that directs Harold to pick the flowers as he walks to the other side of the flower bed. He should pick all red flowers with his right hand. Flowers that are not red should be picked with his left hand. Use only the instructions shown earlier in Figure 1-8. Be sure to create an algorithm that will work for any combination of colored flowers.
REFERENCE : FIGURE 1-8
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.