Robby Project 4

In project 4, Robby wants to go a certain location.  You need to determine the of directions using turnLeft() and move() that will get Robby there.  However, this time the coordinates are further from the origin so try to use a while loop.

Robby always starts at the origin (0, 0) facing East.  

For example, if Robby needs to go to (11, 1) your directions could be:

a = 1

while (a<=11) 

{

move()

a = a + 1

}

turnLeft()

move()

Note: There is more than 1 way to get Robby to a particular location.

Note: Be careful not to double-click when clicking 'execute'.

Note: If your code works for 5 test cases in a row, you can enter your e-mail address.