Vic wants to provide his customers with a receipt that


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.

Solution Preview :

Prepared by a verified Expert
Basic Computer Science: Vic wants to provide his customers with a receipt that
Reference No:- TGS02797456

Now Priced at $10 (50% Discount)

Recommended (94%)

Rated (4.6/5)