This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: Display "Enter the length of the worm" Input Length Display "Enter the distance of worm from the apple " Input Distance Call MoveWorm Module End main module MoveWorm module While Distance >= 0 Distance = Distance - WormLength End While Display "The worm has reached the apple !." End MoveWorm module...
View Full Document
This note was uploaded on 08/14/2011 for the course IT 210 taught by Professor Josephpillera during the Spring '10 term at University of Phoenix.
- Spring '10