Sample code to solve this puzzle

csd-unit-3-lesson-11
#1

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.

Jon

#2

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,
Karen