Question: The algorithm in Figure 1-16 should get Robin the Robot seated in the chair, but it does not work correctly. Correct the algorithm. 4 steps

The algorithm in Figure 1-16 should get Robin the Robot seated in the chair, but it does not work correctly. Correct the algorithm. 

4 steps 3 steps 3 steps 1. repeat (3 times) wale forward one complete step end repeat 2. turn left g0 degrees 3. repeat (2 times) walk forward one complete step end repeat 4. turn right 9o degrees 5. repeat (2 times) walk forward one complete step end repeat 6.

4 steps 3 steps 3 steps 1. repeat (3 times) wale forward one complete step end repeat 2. turn left g0 degrees 3. repeat (2 times) walk forward one complete step end repeat 4. turn right 9o degrees 5. repeat (2 times) walk forward one complete step end repeat 6. turn right 90 degrees 7. walk forward one complete step 8. turn right 90 degrees 9. repeat (4 times) walk forward one complete step end repeat 10. turn right90 degrees 11. sit down Figure 1-16 1 step 2 steps

Step by Step Solution

3.31 Rating (154 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

1 repeat 3 times walk forward one complete step end repeat 2 turn left 90 degrees 3 repeat 2 tim... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Microsoft Visual C# Introduction Questions!