src/main/java/org/teachingkidsprogramming/recipes/completed/section04mastery/PentagonCrazy.java
private static void drawPentagon()
  {
    //    Do the following 200 times --#2
    for (int i = 0; i < 200; i++)
    {
      //     AdjustPen (recipe below) --#9
      adjustPen();
      //     Move the tortoise the length of a side --#4
      Tortoise.move(i);
      //     Turn the tortoise 1/5th of 360 degrees --#1
      Tortoise.turn(360.0 / 5);
      //     Turn the tortoise 1 more degree --#5
      Tortoise.turn(1);
    }
  }
private static void drawPentagon()
  {
    //    Do the following 200 times --#2
    for (int i = 0; i < 200; i++)
    {
      //     AdjustPen (recipe below) --#9
      adjustPen();
      //     Move the tortoise the length of a side --#4
      Tortoise.move(i);
      //     Turn the tortoise 1/5th of 360 degrees --#1
      Tortoise.turn(360.0 / 5);
      //     Turn the tortoise 1 more degree --#5
      Tortoise.turn(1);
    }
  }
private static void drawPentagon ( ) { //    Do the following 200 times --#2 for ( int i = 0 ; i < 200 ; i ++ ) { //     AdjustPen (recipe below) --#9 adjustPen ( ) ; //     Move the tortoise the length of a side --#4 Tortoise . move ( i ) ; //     Turn the tortoise 1/5th of 360 degrees --#1 Tortoise . turn ( 360.0 / 5 ) ; //     Turn the tortoise 1 more degree --#5 Tortoise . turn ( 1 ) ; } }
------------- Recipe for DrawPentagon --#10
------------- Recipe for DrawPentagon -- #10