Question: Tasks: 1 . Use VS Code to create a Project 1 directory inside of the ICT 1 5 2 Java Directory. In Project 1 ,

Tasks:
1. Use VS Code to create a Project1 directory inside of the ICT152Java Directory. In Project1,
create a file named project1.java.
2. Using the project1.java file, create a program that meets the Project Requirements listed
below.
3. Compile your code and debug for any errors.
4. Run your program.
5. Include all necessary documentation requirements (header, etc.).
Project Requirements:
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!