Using only the instructions shown earlier in Figure 1-8, modify the answer to TRY THIS Exercise 1 as follows: Robin must jump over the box if the box is red; otherwise, she must throw the box out of the way.
Reference:Exercise 1:
As illustrated in Figure 1-9, Robin is five steps away from a box, which is an unknown distance away from a chair. Using only the instructions listed in Figure 1-8, create an algorithm that directs Robin to jump over the box and sit in the chair. Be sure to indent the instructions appropriately. (The answers to TRY THIS Exercises are located at the end of the chapter.)
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.