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 answer

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