- Nov 4, 2000
- 3,795
- 0
- 0
for (int numEdges =2; numEdges <= 1; numEdges++)
{
myTurtle.move(200);
myTurtle.turnRight(90);
}
Ok, question is "what will the shape of the resulting for statement be?".
So, really I am asking what the numEdges command does, and also why and how many times will it cycle through the commands in the {}
Thanks a bunch.
{
myTurtle.move(200);
myTurtle.turnRight(90);
}
Ok, question is "what will the shape of the resulting for statement be?".
So, really I am asking what the numEdges command does, and also why and how many times will it cycle through the commands in the {}
Thanks a bunch.
