Help with Java task (Karel)

Programming
Tutor: None Selected Time limit: 3 Days

I have a question regarding Java. My task is Problem #9 on this paper (http://shhs.javawide.org/images/8/88/compCH2.pdf) (Disregard the answer; it is incorrect for my problem). My goal is to do a figure 8 with as less commands as possible (Commands are move (); , turnLeft (); even if I make a method such as turnRight (); with 3 turnLeft(); commands it counts as 3 commands). I know how to solve the problem; I can make the figure 8, but what is the way that uses the least commands? Thanks.

Aug 29th, 2013

If you type out all that you need you could figure out how to combine some of the source code to make your own methods to do the same thing. To do a figure 8 it would have to be 2 squares touching each other (top one and one directly below it touching the bottom part of the top one). I hope this helps. Let me know if you need more information

Aug 29th, 2013

Studypool's Notebank makes it easy to buy and sell old notes, study guides, reviews, etc.
Click to visit
The Notebank
...
Aug 29th, 2013
...
Aug 29th, 2013
Feb 21st, 2017
check_circle
Mark as Final Answer
check_circle
Unmark as Final Answer
check_circle
Final Answer

Secure Information

Content will be erased after question is completed.

check_circle
Final Answer