CheckPoint Week 4

CheckPoint Week 4 - While (Distance >= WormLength)...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
CheckPoint Week 4 Main Module   Declare InitDistance as real Declare WormLength as real Write, "Please enter the initial distance between the worm and the apple:" Input InitDistance Write, "Enter the worm's length" Input WormLength Set Distance = InitDistance
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: While (Distance >= WormLength) Write, "The distance is" Distance Set Distance = Distance - WormLength End loop Write, "The last distance before entering apple is: " Distance End Main Module...
View Full Document

This note was uploaded on 04/17/2011 for the course IT 210 taught by Professor Josephpillera during the Fall '10 term at University of Phoenix.

Ask a homework question - tutors are online