Design a program that models the worm’s behavior in the following scenario:

Psuedo code

Input Worm Length
Input Distance to Apple

distance to apple - length of worm = Moves to enter Apple

Distance <= worm Lenth enter apple.