Design a pseudocode for a program that accepts an ice cream flavor the price per gallon and number of gallons sold a year, display a message this flavor is the best seller having more than 40000 gallons a year sold

1 answer

data entry:
accept "flavor"
accept "price per gallon"
accept "number gallons sold in year"
return to data entry unless flavor is ""
sort data files by gallons sold
if first file has gallons sold > 40,000
print "file" ;"best seller with";"gallons sold.
otherwise end
end