A simple Java console application for managing lemonade orders (single-file project).
- Place new lemonade orders
- View orders by status (Preparing / Delivered / Canceled)
- Search orders by Order ID
- Search customers and list their orders
- Update order quantity or status
- Show best customers (by total value)
Lemonade.java— main source file (console app)
- Java JDK 8 or later installed and
javac/javaavailable on PATH
From the project directory (Windows cmd / PowerShell / Linux shell):
javac Lemonade.java
java Lemonade- Follow on-screen prompts.
- Customer IDs expected as 10-digit phone numbers (e.g.
0770000001). - Prices are shown as plain doubles; the default lemonade price is set inside the source.
- Input reading uses
Scanner.next()andnextInt()directly; entering unexpected data may throw exceptions. - The code uses labeled loops (
L1,L2, ...) and raw arrays — this works but can be hard to maintain.