Here's a really crude exercise in turtle graphics, from Deitel (Java How to Program). The assignment (chapter 7, ex. 21) is to write a turtle graphics program that will draw a square using the commands given by the author. I know that there are better ways to input/store the commands than an array but my constraints are that I haven't really worked through Arraylists or other collections yet, and, I'm trying to first stick to the assignment. Although Eclipse complains that there are errors, the program compiles and runs; I don't know what the errors are. Thanks for looking!
p.s. I'm also aware that turtle graphics can do much more than draw squares and rectangles... again, I'm just trying to do the exercise as given