The store sells gourmet chocolates: 1) Milk Chocolate @ $8.50 per pound 2) Dark European Chocolate @

The store sells gourmet chocolates: 1) Milk Chocolate @ $8.50 per pound 2) Dark European Chocolate @

The store sells gourmet chocolates: 1) Milk Chocolate @ $8.50 per pound 2) Dark European Chocolate @ $9.75 per pound 3) White Chocolate @ $10.50 per pound 4) European Truffles @ $12.50 per pound The store allows a customer discount based on: 1) Under $20.00             No Discount 2) $20.00 to $39.99        10% off 3) $40.00 to$59.99         15% off 4) $60.00 to$79.99         20% off 5) $80.00 andover          25% off Shipping & Handling is 10% of the net total (gross subtotal– discount). Total Owed is Net Total plus Shipping and Handling —- Using a nested IF…ELIF, determine the discountbased on the gross subtotal of the order (excluding the shippingand handling.)—-??????? Example of Input and Output: 1 of 5 – Enter Customer ID: AS231 2 of 5 – Enter the number of pounds of Milk Chocolate @$8.50: 1.45 3 of 5 – Enter the number of pounds of Dark Chocolate @$9.75: 0.75 4 of 5 – Enter the number of pounds of White Chocolate @$10.50: 2 5 of 5 – Enter the number of pounds of TruffleChocolates @ $12.50: 0.5 Invoice for Customer AS231: 1.45 lbs of Milk Chocolate @$ 8.50 per lb.   $12.32 0.75 lbs of Dark Chocolate @$ 9.75 per lb. $7.31 2.0 lbs of White Chocolate @$ 10.50 per lb. $21.00 0.5 lbs of Truffles @$ 12.50 perlb.               $ 6.25 Subtotal                                                          $ 46.89 Less Discount of 15.0%                               $   7.03 NetSubtotal                                                    $ 39.85 Shipping @ 10.0%                                       $   3.99 GrandTotal                                                   $ 43.84 Attached

Looking for a similar assignment? Get help from our qualified experts!

Order Now

Related Posts