Answer to Question #122124 in Algorithms for raman

Question #122124
A food processing company buys plastic bottles for its
products. A plastic manufacturer sells bottles at a price of
85 cents each bottle, if the company orders 1000 bottles
or more. Otherwise the price per bottle is 90 cents. Write
an algorithm and flowchart which determines how much
the company would pay for both cases.
1
Expert's answer
2020-06-15T15:02:57-0400

Let N be the number of bottles sold and P their price. Then the algorithm may look like this:

if N>=1000:
P=85
else: 
P=90

The flowchart can be like the following one:





Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS