Question: Phyton Please Need help due @3PM # Coffee-2a) Modify the nested loop example given. # Depending on the customer's selection, add a value # into

Phyton Please Need help due @3PM  Phyton Please Need help due @3PM # Coffee-2a) Modify the nested
loop example given. # Depending on the customer's selection, add a value

# Coffee-2a) Modify the nested loop example given. # Depending on the customer's selection, add a value # into a customer sub total. To keep it simple, assume # that they'll enter 1, 2, 3, 4 or 0. If they enter # 1, 2, 3, or 4, add that same number into their sub total 6 # (e.g. if choice is 1, subtotal + 1, 1f choice is 2, 7 # subtotal + 2 etc.). If they enter 0, that will indicate # they are done and the inner loop should break. 10 11 # coffee-2b) Add a grand total for the store into the 12 , # code from 2a. Add each customer's sub-total into the 13 # grand total once they are done adding to their order. # Also print each customer's sub total once they are done ordering, and print the grand total of all sales # at the very end 16 Exercises Coffee-2a) Modify the nested loop example given. Depending on the customer's selection, add a value into a customer sub total. To keep it simple, assume that they enter 1. 2, 3, 4 or 0. If they enter 1, 2, 3, or 4, add that same number into their sub total (e.g. if choice is 1, subtotal+-1, if choice is 2, subtotal+-2 etc.). If they enter 0, that will indicate they are done and the inner loop should break 'll Coffee-2b) Add a grand total for the store into the code from 2a. Add each customer's sub-total into the grand total once they are done adding to their order. Also print each customer's sub total once they are done ordering, and print the grand total of all sales at the very end

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!