Asked by Linda

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.

Answers

Answered by Anonymous
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
There are no AI answers yet. The ability to request AI answers is coming soon!

Related Questions