Simple ordering system
Explore the docs »
Report Bug
·
Request Feature
Table of Contents
In this project a simple ordering system is implemented in which the user has a shopping menu displayed with the following:
- Main menu:
Pizza, $40
Cheeseburger, $20
Coffee, $5
Soda, $4
Water, $2
- Takes input from the user that represents each item and its quantity.
- Adds the items with their quantities to the user’s shopping cart.
- On checkout, takes input from the user representing their payment method (PayPal or CreditCard).
- Calculates and displays the amount of the order to the user and performs the payment using the method determined by the user and displays a confirmation message of the payment status (success or failure).
- UML diagram
- JOptionPane is used for the GUI to display and take inputs from the user
- Added abstract classes
- Added polymorphism
- Added screenshots of the run