You will write a method called plantThreeRowsOfThree()
that can be added to a Jeroo
subclass. The method should plant three rows of three...
X870: Jeroo plantThreeRowsOfThree()
You will write a method called plantThreeRowsOfThree()
that
can be added to a Jeroo
subclass. The method should plant
three rows of three flowers. Several additional methods have
been stubbed out for you to complete. For example, the jeroo
may start out like this:
After planting the first row:
After turning around to the right:
After planting the second row, turning around to the left, and planting the final row, the final situation looks like this:
Use the images above to determine the moves needed for each
operation, and implement plantThreeRowsOfThree()
so that it
works by calling the other methods.
Your Answer:
Feedback
Your feedback will appear here when you check your answer.