Menu

[solved] – Question 77479

Write an algorithm that allows a robot to mow a rectangular lawn, provided it has been placed in a corner, like this:

The robot (marked as R) can:
•Move forward by one unit.
•Turn left or right.
•Sense the color of the ground one unit in front of it.

Expert Answer


OR


Leave a Reply

Your email address will not be published. Required fields are marked *