This is a simple Java console application for managing burger orders at iHungry Burger Shop.
- Place new burger orders
- Search for the best customer (highest total order value)
- Search for orders by order ID
- Search for customers by customer ID (phone number)
- View orders by status (Delivered, Preparing, Canceled)
- Update order details (quantity and status)
- Developer mode to display internal arrays
-
Compile the Java source file:
javac iHungry.java
-
Run the application:
java iHungry
- [1] Place Oder: Add a new burger order.
- [2] Search Best Customer: Find the customer with the highest total order value.
- [3] Search Oder: Search for an order by its ID.
- [4] Search Customer: Search for a customer by their phone number.
- [5] View Oder: View orders by their status.
- [6] Update Oder Details: Update the quantity or status of an order.
- [7] Exit: Exit the application.
- [8] Show Arrays (Dev mod): Display internal arrays for debugging.
- Customer ID must be a 10-digit phone number starting with '0'.
- All data is stored in memory (arrays) and will be lost when the program exits.
- The burger price is set to 500.
iHungry.java: Main source code for the application..gitignore: Ignores.classfiles.
This project is for educational