Question: Please check all 3 images. Thanks. 33.4 Function call in expression: Reduced pricing. ENGE This tool is provided by a third party Your activity is
33.4 Function call in expression: Reduced pricing. ENGE This tool is provided by a third party Your activity is always recorde but you may need to refresh the page to fill in the banner Function call in expression: Reduced pricing Wirte a single statement that assigns totalCost with the discounted cost of item 1 and item 2 Use the function DiscountedPrice to determine the discounted cost of each item. Hint: Call DiscountedPrice) twice in an expression Ex. If the first item is $10 and 50% off, and the second item is $20 and 40% off., then totalCost is $17 (Le, $5 + $12). DiscountedPrice is already provided: sale!tencost DiscountedPrice (originallterncost, = discountedRate) originall temCost: original cost of an item in dollars s discountedRate: Discount rate as a decimal value saleltemcost originalItemcost ( discountedRate) end
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
