Question: function totalCost = CartTotal ( item 1 Cost, item 1 Discount, item 2 Cost, item 2 Discount ) % Assign totalCost with the discounted cost
function totalCost CartTotalitemCost, itemDiscount, itemCost, itemDiscount
Assign totalCost with the discounted cost of items and
totalCost
end
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
