Question: public class Week3Program { public static void main (String[] args) { System.out.println(LET'S MAKE PEANUT DRAW STUFF!); //**TODO: Finish the code below to create a World

public class Week3Program { public static void main (String[] args) { System.out.println("LET'S MAKE PEANUT DRAW STUFF!");

//**TODO: Finish the code below to create a World named shell shell = new World(); //**TODO: Finish the code below to create a Turtle named peanut peanut = new Turtle(shell); //**TODO: Fix the line of code below to make peanut turn 90 degrees right turtle.turn(90); //**TODO: Fix the line of code below to make peanut move forward 200 turtle.forward(100); //**TODO: write one line of code below to make peanut turn right 90 degrees //**TODO: write one line of code below to make peanut move forward 200 //**TODO: write one line of code below to make peanut turn right 90 degrees //**TODO: write one line of code below to make peanut move forward 200 //**TODO: write one line of code below to make peanut turn right 90 degrees //**TODO: write one line of code below to make peanut move forward 200 //**TODO: write one line of code below to pick up peanut's pen //**TODO: write one line of code below to make peanut move forward 50 //**TODO: write one line of code below to put down peanut's pen //let's change peanut's pen color to cyan - leave this line of code as is peanut.setPenColor(Color.cyan); //**TODO: write one line of code below to make peanut move forward 200 //**TODO: write one line of code below to make peanut turn right 90 degrees //**TODO: write one line of code below to make peanut move forward 200 //**TODO: write one line of code below to make peanut turn right 90 degrees //**TODO: write one line of code below to make peanut move forward 200 //**TODO: write one line of code below to make peanut turn right 90 degrees //**TODO: write one line of code below to make peanut move forward 200 System.out.println("PEANUT DREW STUFF!"); //That's it! Leave this code as is. You'll see it print in the Interactions tab when you click Run.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!