The file normalsales.dat contains a list of the ice cream normally sold on a day. This consists of two lines for each flavor.
vanilla 100 chocolate 150 rocky road 23 triple chocolate fudge delight 75
Right now, there is only one size cone sold, an 8oz waffle cone. Therefore on a typical day, with the above sales data, the owner would expect to need 800oz of vanilla ice cream. Since there are 128 oz in a gallon, the store would need 6.25 gallons of vanilla ice cream. Unfortunately ice cream is only sold in whole gallons, so a total of 7 gallons of ice cream is needed.
The owner needs one option, on weekends they sell twice the number of cones, and on holidays they sell four times the number of cones.
Your program should start by asking the type of day. It should then produce a list of flavors and the quantity of each flavor of ice cream that should be purchased for that type of day.
The output should be in the form:
n gallons of flavor ice cream.This line should end with a newline.
your code must compile, without warnings or errors, using the following compiler flags:
-g -O2 -Wall -Wextra -Wpedantic -Werror -Wold-style-cast -Wunused-parameter -Wuninitialized -Wshadow -Wdangling-elseIt must run on either devweb1, or prog1 (when that machine becomes available)