it210

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.

  1. 👍 0
  2. 👎 0
  3. 👁 158
asked by Bonnie
  1. 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.

    1. 👍 0
    2. 👎 0

Respond to this Question

First Name

Your Response

Similar Questions

  1. 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

    asked by Anonymous on May 29, 2008
  2. 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

    asked by Eden on October 15, 2009
  3. 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

    asked by Eden on October 15, 2009
  4. 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

    asked by Martha on January 16, 2007
  5. 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

    asked by may on November 12, 2009
  6. 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

    asked by Kamari Davis on March 1, 2011
  7. Fundamentals of programming

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

    asked by Anonymous on November 6, 2008
  8. science

    parasitic worm infestation is hypothesized to be damaging to the host. However scientists have recently discovered that worm infestation of certain autoimmune disorders. in which of the following ways should the hypothesized to be

    asked by ianko on March 29, 2017
  9. science

    parasitic worm infestation is hypothesized to be damaging to the host. However scientists have recently discovered that worm infestation of certain autoimmune disorders. in which of the following ways should the hypothesized to be

    asked by mae on November 23, 2016
  10. 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

    asked by Leo on September 28, 2007

More Similar Questions