X904: Jeroo turns toward north or a flower

For this question you writing code for named erin. Change the if statement to a while loop so that erin will continue turning left until erin is either facing north or facing a flower ahead. Remember that the while loop condition says when the action should continue to repeat, so it is the opposite of the condition when the loop should stop.

Your Answer:

Reset

Practice a different Java exercise

Feedback

Your feedback will appear here when you check your answer.