it210

posted by .

Design a program that models the worm's behavior in the following scenario:
A worm is moving toward an apple. Each time it moves, the worm cuts the distance between itself and the apple by its own body length until the worm is close enough to enter the apple. The worm can enter the apple when it is within a body length of the apple.

  • it210 -

    Please note that we don't do students' homework for them. Be sure to go back into your textbook or use a good search engine. http://hanlib.sou.edu/searchtools/

    Once YOU have come up with attempted answers to YOUR questions, please re-post and let us know what you think. Then someone here will be happy to comment on your thinking.

Respond to this Question

First Name
School Subject
Your Answer

Similar Questions

  1. Iteration Control Structure

    Design a program that models the worm's behavior in the following scenario: A worm is moving toward an apple. Each time it moves, the worm cuts the distance between itself and the apple by its own body length until the worm is close …
  2. computer programs

    I have a problem just getting started on writing pseudocode or a program for the following problem: A worm is moving toward an apple. each time it moves, the worm cuts the distance between itself and th eapple by its own body length …
  3. Iteration (repetition) Srtucture

    Design a program that models the worm's behavior in the following scenario: A worm is moving toward an apple. Each time it moves, the worm cuts the distance between itself and the apple by its own body length until the worm is close …
  4. Fundamentals of programming

    Design a program that models the worm’s behavior in the following scenario:
  5. it programming

    design a program that models the worms behavior in the following scenario. A snake is moving towards a hole. Each time it moves, the snake cuts the distance between itself and the hole by its own body lengthuntil the snake is close …
  6. programming

    •Hi I really need help with with this I don't think I'm understanding how to do it maybe because i have never done this Design a program (you can use pseudocode to write your program) that models the worm’s behavior in the following …
  7. programming

    •Hi I really need help with with this I don't think I'm understanding how to do it maybe because i have never done this Design a program (you can use pseudocode to write your program) that models the worm’s behavior in the following …
  8. IT 210

    Design a program that models the worm's behavior in the following scenario: A worm is moving toward an apple. Each time it moves the worms cuts the distance between itself and the apple by its own body length until the worm is close …
  9. IT/210

    Design a program that models the worms behavior in the following scenario: A worm is moving toward an apple. Each time it moves, the worm cuts the distance between itself and the apple by its own body length until the worm is close …
  10. Math

    A microscopic worm is eating its way around the inside of a spherical apple of radium 6 cm. What is the probability that the worm is with 1 cm if the surface of the apple?

More Similar Questions