$\require{cancel}$
For each flavor of ice cream cone sold,
given the number of ice cream cones of that flavor we expect to sell
and the type of day, compute the number of gallons of each flavor
of ice cream needed if one gallon of ice cream will make 24 cones.
Day Type: normal
multiplier = 1
Flavors: chocolate, vanilla, peach
Cones: 50, 20, 259
chocolate: 3 gallons x multiplier = 3
vanilla: 1 gallon x multiplier = 1
peach 11 gallons x multiplier = 11
Day Type: busy
multiplier = 2
Flavors: chocolate, vanilla, peach
Cones: 50, 20, 259
chocolate: 3 gallons x multiplier = 6
vanilla: 1 gallon x multiplier = 2
peach 11 gallons x multiplier = 22
ask the user for type of day (normal, busy, holiday)
if typeOfDay == normal
multiplier = 1
else if typeOfDay == busy
multiplier = 2
else if typeOfDay == holiday
multiplier = 4
else
multiplier = 1
print error
ask the user for the flavor
while the user does not enter NONE
ask the user for the number of cones
baseGallons = roundup(cones/CONES_PER_GALLON)
gallons = baseGallons * multiplier
print the number of gallons needed for that flavor
ask the user for the flavor