Robby Project 5

In project 5, Robby will be given a list of directions using turnLeft() and move().  You will need to appropriately initialize the values of 'x' and 'y' that represent Robby's final position.

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

For example, if Robby was given the directions:

steps = 1

while (steps <= 5)

{

     move();

      steps = steps + 1;

}

Then he would be at coordinate (5, 0) so you would initialize the variables below:

x = 5

y = 0


Project 3 Extension (Increased Difficulty):  Be really careful analyzing the while loops in terms of how many times they iterate ("loop through").  Pay attention to comparison signs (<, >, <=, >=).

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.