# Computer Programming

2. Chocolate Delights Candy Company manufactures several types of candy. Design a flowchart or pseudocode for a program that accepts a candy name (for example, "chocolate-covered blueberries"), price per pound, and number of pounds sold in the average month. Display a message that indicates whether the candy is a best-selling item. Best-selling items are those that sell more than 2000 pounds per month.

1. 👍 0
2. 👎 0
3. 👁 662
1. start
Declarations
string name
num pricePerPound
num poundsSold
stop
Output "Candy program"
input name, pricePerPound, poundsSold
detail
if poundsSold > 2000 then
output name, pricePerPound, poundsSold
endif
return
output "End of program"
Return

1. 👍 0
2. 👎 0

## Similar Questions

1. ### Math

Joseph had 7 1/4 ounces of candy to share with his friends. He gave them 2 4/5 ounces of candy when they came over to play video games. How many ounces of candy does Joseph have left? Explain.

2. ### Math

A candy manufacturer makes two types of special candy, say A and B. Candy A consists of equal parts of dark chocolate and caramel and Candy B consists of two parts of dark chocolate and one part of walnut. The company has in stock

3. ### Chemistry

A researcher studying the nutritional value of a new candy places a 4.90 gram sample of the candy inside a bomb calorimeter and combusts it in excess oxygen. The observed temperature increase is 2.75 Celsius. If the heat capacity

4. ### Algebra 2 A

A candy store makes a 9-pound mixture of gummy candy, jelly beans, and hard candy. The cost of gummy candy is \$2.00 per pound, jelly beans cost \$3.00 per pound, and hard candy costs \$3.00 per pound. The mixture calls for two times

1. ### Math

A store owner has 7.11 lbs. Of candy. If she puts the candy into 9 jars, how much candy will each jar contain?

2. ### statistics

Do you want to own your own candy store? Wow! With some interest in running your own business and a decent credit rating, you can probably get a bank loan on startup costs for franchises such as Candy Express, The Fudge Company,

3. ### Math

which of the following sets of data would be represented best in a histogram? A. the number of toys sold in five price ranges. B. The average monthly sales for the Big Toy company. C. The number of each type of candy sold last

4. ### math

you are creating identical candy bags using 18 chocolate bars and 30 peanut butter cups. What is the greatest number of bags you can fill using all the candy?

1. ### Trick or Treat

Little Billy was out trick or treating on Halloween. He had gotten a lot of candy and was peering into his bag, when out from behind a tree came Freddy Krueger. Freddy reached into Billy's bag and took half of his candy plus one