Question: 1 . Display Menu: Create a menu with at least five caf items ( e . g . , coffee, tea, sandwich, muffin, juice )

1. Display Menu: Create a menu with at least five caf items (e.g., coffee, tea, sandwich,
muffin, juice), each with a different price.
2. Single Item Order: Allow the user to select one item from the menu and specify the
quantity.
3.(Optional) Customizations: Provide customization options for at least one specific item
(e.g., sugar/milk for coffee or bread type for sandwiches).
4. Total Cost Calculation: Calculate the total cost based on the item price, quantity, and any
additional charges for customizations (if added).
5. Discount: Apply a 10% discount if the total cost exceeds $25.00.
6. Display Summary: At the end, display a final order summary showing the item, quantity,
any customizations, and the total cost (with discounts if applicable).

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 Programming Questions!