Question: Develop a function trayful - total. The function consumes a trayful and produces the total cost of all the goodies on it ( a number
Develop a function trayfultotal. The function consumes a trayful
and produces the total cost of all the goodies on it a number When calculating the total
cost you must take into account the numberordered of each goodie ordered.
Points Develop a function called goatcheesepromo. The function
consumes a trayful and a number representing the discount on goat cheese items in
decimal form The function produces the total cost of the trayful as above with the
discount applied to goat cheese classified goodies and only goat cheese goodies
Example: a discount is entered as so a serving of "pink peppercorn" goat
cheese that usually sells for $ but is discounted by gets reduced by $ to $
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
