Assume you have created a mechanical robot that can perform the following
tasks:
a. Stand up.
b. Sit Down.
c. Turn left 90 degrees.
d. Turn right 90 degrees.
e. Take a step.
Additionally, the robot can determine the answer to one test condition:
--Am I touching something?
Scenario:
Place two chairs 20 feet apart, directly facing each other. Create
pseudocode to describe the logic that would allow the robot to start from
sitting position in one chair, cross the room, and end up sitting in the other
chair.