Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.

QUESTION

Question: Vic's Sweetshop sells cheesecake. The cheesecakes are sold in bite size (3 inch), small (9 inch), and large (12 inch).

Question:Vic's Sweetshop sells cheesecake. The cheesecakes are sold in bite size (3 inch), small (9 inch), and large (12 inch). They are also sold plain or with strawberry, raspberry, caramel, or chocolate topping.  Vic has decided it costs more to make a cheesecake with toppings than a plain cheesecake and he needs to make sure he charges customers appropriately. Price per inch will now be determined as follows:

plain - 0.50 per inch

strawberry - 1.25 per inch

raspberry - 1.15 per inch

caramel - 0.75 per inch

chocolate - 0.85 per inch

Vic wants to provide his customers with a receipt that contains all the information about their cheesecake and the total purchase price. I need a solution that will allow the customer to choose a size and topping. Then display the "receipt" back to the customer that includes their choices and total cost.  

For this weeks program I need to add to the functionality. Be sure the user/customer enters a valid option for the size and a valid option for the topping before proceeding with the program, meaning continue to ask them for a size or a topping until the answer is valid. This program should continue to run until the customer has ordered all the cheesecakes they want. When the user is done entering cheesecake orders display a receipt that lists each cheesecake order, the price of that cheesecake and the total for order.  

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question