Week 4 Checkpoint - Input Worm length End Length Module...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
Week 4 Checkpoint By: Brandon Hunter 7/28/2011 IT/210
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Main Module Declare InitialDistance as real Declare Wormlength as real Call Get Distance Call Get Length Call Move Worm End Distance Module Write “Enter initial distance between worm and apple” Input IntialDistance End Distance Module Length Module Write “Enter Worm length”
Background image of page 2
Background image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Input Worm length End Length Module Move Worm Module Set Distance = InitialDistance While(Distance>= Wormlength) Write, “The Distance is” Distance Set Distance = Distance – Wormlength End Loop Write, “The final distance before entering the apple is:” Distance...
View Full Document

Page1 / 3

Week 4 Checkpoint - Input Worm length End Length Module...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online