Skip to content

Factory program managing products, beings, sales and prize tickets.

License

Notifications You must be signed in to change notification settings

ulasonat/wonka-factory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wonka's Factory Management System

A Java program for managing a factory that produces various products, such as bread, waffles, and spaghetti, and sells them to kids. The program allows registering prize tickets, creating a new Oompa Loompa song, registering beings, registering products, ruffling tickets, registering sales, and listing winners.

Getting Started

Prerequisites

  • Java Development Kit (JDK)

Installing and Running

  1. Clone the project or download and extract the ZIP file.
  2. Navigate to the project directory in the command line.
  3. Compile the program by entering the following command:
javac factory/main/Main.java
  1. Run the program by entering the following command:
java factory.main.Main

Usage

After running the program, you will see the main menu with different options:

Press:
    0 - display the menu
    1 - register prize tickets
    2 - list all prize tickets
    3 - list only raffled tickets
    4 - create a new oompa loompa song
    5 - register beings
    6 - register products
    7 - ruffle tickets
    8 - register sale
    9 - list winners
    10 - quit

Choose any option by typing the corresponding number and pressing Enter. Follow the prompts displayed to input the required values.

About

Factory program managing products, beings, sales and prize tickets.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages