Skip to content

WasuVa/iHungry-SHOP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

iHungry Burger Shop Management

This is a simple Java console application for managing burger orders at iHungry Burger Shop.

Features

  • 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

How to Run

  1. Compile the Java source file:

    javac iHungry.java
  2. Run the application:

    java iHungry

Menu Options

  • [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.

Notes

  • 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.

File Structure

  • iHungry.java: Main source code for the application.
  • .gitignore: Ignores .class files.

License

This project is for educational

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages