Question: Pack Selection: Prompt the user to choose between a 4 - pack or a 6 - pack of cupcakes. Ensure the user's choice is valid.
Pack Selection:
Prompt the user to choose between a pack or a pack of cupcakes.
Ensure the user's choice is valid. If not, prompt them again.
Cupcake Menu:
Display a menu with these cupcake flavors and their respective prices:
Vanilla Delight: $
Chocolate Dream: $
Strawberry Bliss: $
Caramel Drizzle: $
Cupcake Selection:
Prompt the user to select a flavor from the menu to add to their pack. Ensure the user's choice is valid. If not, prompt them again.
Repeat the process until the chosen pack or is full.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
