In this group project, you will be allowing a user to interact with a basic product ordering database.
*********************************************************
** Welcome to Bangazon! Command Line Ordering System **
*********************************************************
1. Create a customer account
2. Choose active customer
3. Create a payment option
4. Add product to shopping cart
5. Complete an order
6. See product popularity
7. Leave Bangazon!
>
Enter customer name
>
Enter street address
>
Enter city
>
Enter state
>
Enter postal code
>
Enter phone number
>
Which customer will be active?
1. John Q. Public
2. Svetlana Z. Herevazena
>
Enter payment type (e.g. AmEx, Visa, Checking)
>
Enter account number
>
Note: These are examples. Add your own product names, please.
To make it easier to add multiple products, when the user selects a product to order, display the menu of products again. Make sure the last option of Back to main menu so the user can specify that no more products are needed.
1. Diapers
2. Case of Cracking Cola
3. Bicycle
4. AA Batteries
...
9. Done adding products
Please add some products to your order first. Press any key to return to main menu.
Your order total is $149.54. Ready to purchase
(Y/N) >
# If user entered Y
Choose a payment option
1. Amex
2. Visa
>
Your order is complete! Press any key to return to main menu.
# If user entered N, display the main menu again