English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories
1

Create the flowchart for a pet store that determines if the owner should reorder products. The program asks the quantity on hand at the beginning of the week and the number of items sold for the week. If the store sells more than 50% of the on-hand quantity during a week, the owner should restore the stock level to 75% of the initial on-hand quantity. If more than 75% of the stock was used during the week, the owner should order enough to restore the stock to a level 25% greater than the initial quantity on-hand. You must use modules for all aspects of this program. A correct solution will have a minimum of three modules in addition to the main module.

2006-10-14 19:02:31 · 1 answers · asked by ronyskid 1 in Computers & Internet Programming & Design

Can anyone get me started?

2006-10-14 19:03:37 · update #1

1 answers

Programming is simply breaking down a problem into managable tasks.
Possible modules might be to input the number of items sold,
Get the current stock level,
Get the initial on-hand quantity
Get the week's on-hand quantity
Decide the restore stock level

That's just an off-the-cuff idea, without really looking at the problem in any detail. I'd probably play around with something like that.

--Dee

2006-10-14 19:17:11 · answer #1 · answered by Deirdre H 7 · 1 0

fedest.com, questions and answers