build a house with windows and a door
***where am I going wrong; posting the directions after this thread***
****I'm very new to this******
import Guzdial.*;
import java.awt.*;
import java.applet.*;
/**
* Course: 2301
* Section: 2
* Professor: Shaw
* Name: Gerald Hart
* Assignment #: homework 1
*/
public class house
{
//It builds a house
static void house(int rectangle);
{
star(50);
turtle.penUp();
turtle.forward(100);
turtle.turn(72);
turtle.penDown();
}
static void rectangle(int width, int height); //Draws a rectangle of 200 x 100);
{
turtle.forward(height);
turtle.turnRight();
turtle.forward(width);
turtle.turnRight();
turtle.forward(height);
turtle.turnRight();
turtle.forward(width);
turtle.turnRight();
}
static void equiliateral(int length);
{
turtle.forward(100);
turtle.turn(120);
turtle.forward (100);
turtle.turn(120);
turtle.forward(100);
}
}