Sample code to solve this puzzle


Can anyone send me sample code for solving this puzzle? My students can get the peach to grow, but are struggling with the if statement.



Hi Jon,

The sample code is located on the teacher panel on the right portion of the screen. There are 2 example solutions.

Let me know if this works and have a wonderful Friday,