The following situation uses a robot in a grid of squares.

Write a program in which the robot will visit the right side of the grid and then turn around and visit the left side of the grid. The robot should visit each side 5 times. At the end of the program, the robot should face the left side of the grid being in the left-most square.

The following situation uses a robot in a grid of squares Write a program in which the robot will visit the right side of the grid and then turn around and visi class=