Just Answer Just Answer

Ask Your Computer Question. Computer Experts Answer You ASAP
(Not a Computer Question?)

Question

For Scott: I need to complete the design by having the main ...


Sent to Computer Experts March 21 5:09 p.m.

For Scott: I need to complete the design by having the main module, the output module, the call statements, and the declare statements for this:
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.
The first part was wonderful. This is what I need to complete the assignment today.

Optional Information:
Browser: Firefox

Already Tried:
internet, text books
Customer (name blocked for privacy)
Status: Closed   Value: $15   
Answer
March 21 5:20 p.m. (10 minutes and 54 seconds later)
ACCEPTED Check Mark

Oh, here are those parts. It is completely based on the code I gave you earlier.

Main module
Call Input module
Call Calculations module
Call Output Module
End Program

Input module
Declare Distance as a positive real number
Declare Length as a positive real number
Write "Enter the distance to the apple"
Input Distance
Write "Enter the length of the worm"
Input Length
Return

Calculations module
While Distance > Length
Set Distance = Distance - Length
Write "The distance to the apple is now ", Distance
End While
Return

Output module
Write "The worm has entered the apple"
Return

Is this what you were looking for? Different classes have different pseudocode module styles.

Let me know if you have any questions,
Scott

__________________
If you like my answer, please press the Accept button and give positive feedback (and I will give you positive feedback). Bonuses are appreciated. If you need more information, just ask!
PictureScott  -- MIT Graduate -- 100% Positive Feedback on 82 Computer Accepts
MIT Graduate, specializing in Programming and Windows questions
Reply
Sent March 21 5:26 p.m. (5 minutes and 33 seconds later)

Scott,
Does this go before the pseudocode or after it? I think this is exactly what I need. I'm just not sure if a format matters. Thanks!!!!!
Customer (name blocked for privacy)
Answer
March 21 5:27 p.m. (1 minute and 40 seconds later)

THIS ANSWER IS LOCKED!
You can view this answer by clicking here to Register or Login and paying $3.
PictureScott  -- MIT Graduate -- 100% Positive Feedback on 82 Computer Accepts
MIT Graduate, specializing in Programming and Windows questions
Reply
Sent March 21 5:33 p.m. (5 minutes and 51 seconds later)

Thank you. Will you be able to help me with my flow charts and hierarchy charts due Sunday? I will really need you for the remainder of this course . Will this be possible?
Customer (name blocked for privacy)
Info Request
March 21 5:37 p.m. (3 minutes and 21 seconds later)

I'll do my best to help you by Sunday!

-Scott

__________________
If you like my answer, please press the Accept button and give positive feedback (and I will give you positive feedback). Bonuses are appreciated. If you need more information, just ask!
PictureScott  -- MIT Graduate -- 100% Positive Feedback on 82 Computer Accepts
MIT Graduate, specializing in Programming and Windows questions
Reply
Sent March 21 5:39 p.m. (2 minutes and 44 seconds later)

Thank you. If I need further assistance on this assignment due today I will check back with you later.
I don't know how I would have gotten through the day without you!!!!!!
Customer (name blocked for privacy)

Think you can answer this question?
 Login or  Become an Expert









DISCLAIMER: You acknowledge that any information you may obtain from individuals you contact through use of the Just Answer service comes from those individuals, not from Just Answer!, and that Just Answer is not in any way responsible for any of the information these third parties may supply. The site and services are provided "as is" with no warranty and no representations are made regarding the qualification of an Expert. Responses and comments on Just Answer! are for general information and are not intended to substitute for informed professional advice (such as medical, legal, investment or accounting) and do not establish a professional-client relationship. Just Answer! is not intended or designed to address EMERGENCY QUESTIONS which should be directed immediately by telephone or in-person to qualified professionals. Please carefully read the Terms of Service.
   Just Answer! > Computer and Software Help