Here is the code that 5th period wrote today:
import java.awt.Color; public class Other { public static void main(String[] args) { Turtle t = new Turtle(new World()); t.setColor(Color.BLACK); /* //flower int num = 0; while(num < 25) { t.forward(200); t.turn(108); num++; } */ /* //pentagon int num = 0; while(num < 25) { t.forward(100); t.turn(72); num++; } */ /* int num = 0; while(num < 4) { //dashed line (length 200) int i = 0; while(i < 10) { t.penDown(); t.forward(10); t.penUp(); t.forward(10); i++; } t.turn(90); num++; } */ //draw a 10-sided figure (aka a circle if the sides are short) int i = 0; while(i < 10) { t.forward(30); t.turn(36); i++; } } }